Commit Graph

34 Commits

Author SHA1 Message Date
81db2af601 feat(rails): Add rdmr (rake db:migrate:redo) alias to Rails plugin (#6124)
Co-authored-by: Robby Russell <robby@planetargon.com>
2021-06-11 20:12:13 -07:00
42f56c5601 feat(rails): Add rdmd and rdmu aliases to Rails plugin (#6126)
* `rdmd` is aliased to `rake db:migrate:down`
* `rdmu` is aliased to `rake db:migrate:up`
* These tasks allow you to run a specific migration up or down by
specifying the appropriate `VERSION` env variable, which contains
the numerical prefix of the migration's filename
2021-06-11 20:10:00 -07:00
580c28dedd feat(rails): add 'rails server --bind' alias (#4977) 2021-06-11 20:07:21 -07:00
7a8d89688d Replce 'rake routes' task with 'rails rotues' (#9662)
* Replce 'rake routes' task with 'rails rotues'

Fixes https://github.com/ohmyzsh/ohmyzsh/issues/9661

* Modified 'rake routes|grep' to use rails
2021-02-20 22:24:21 -08:00
74165aba4a rails: detect gems.rb in _rake_command (#8223) 2019-10-18 21:56:30 +02:00
5aa62461d9 rails: change rg alias to rgen (#7858)
The rg alias conflicted with ripgrep.
2019-05-17 14:36:20 +02:00
905eb815fa Check first for bin/stubs directory in _rails_command and _rake_command (#6372) 2017-11-04 10:33:57 -07:00
836fe31385 Add an alias for Rails console sandbox (#5316)
The command ‘rails console —sandbox’ loads our Rails application,
connects to the database and automatically starts a database
transaction. All database operations performed within this console
session are rolled back upon leaving the console. Reference -
https://www.codeschool.com/blog/2014/06/17/rails-console-sandbox/
2016-09-19 19:51:50 -07:00
75f2f4e027 Adding alias to rake db:schema:load command. (#5281) 2016-08-14 18:01:13 -07:00
06659f7fc1 Support bundler 2015-12-25 19:54:12 +09:00
e5164d7b70 Add 'rake stats' alias. 2015-10-15 16:14:54 -03:00
b18d386d7f Add option '--port' to 'rails server' alias. 2015-10-12 04:32:22 -03:00
3e04cd62d3 Add 'rake middleware' alias. 2015-09-28 14:59:06 -03:00
544eccb5dd Fixing conflict in rails plugin merge with rake test shortcut 2015-09-19 08:58:24 -07:00
3f83331c71 removes a trailing white space 2015-08-17 06:23:58 +05:30
750de22972 rails rake test 2015-07-07 15:44:35 +03:00
dff03743ef adds an alias to search for the rails routes that pattern match a string 2015-07-07 09:47:49 +05:30
a1e722d446 Merge pull request #3976 from rodrigoargumedo/patch-1
Add rdrs method to reset the database(s)
2015-06-14 22:09:46 -07:00
1a4dc0d2db Renamed 'ss' alias to 'sstat' (to avoid collision with /bin/ss). 2015-06-11 21:10:38 +02:00
b7d041c627 Add rdrs method to reset the database(s) 2015-06-09 13:41:34 -06:00
a55a313328 Add rdms alias to rails plugin 2015-01-09 16:46:02 +03:00
bf134e9cb3 Fix for recusion limit hit for _rake_command alias 2014-07-15 12:37:53 -07:00
d0dcedcde2 Merge pull request #2421 from LFDM/rails_plugin_fix
Fixes _rails_command in new rails plugin
2014-03-13 07:55:19 -07:00
a6671919ab Fixes _rails_command
Changes precedence of the conditional clause, more recent versions come
first now. Fixes problems when users update their app and still have
the old rails files inside of their file tree.
Closes #2405 - check the discussion there for further info.
2014-01-10 22:52:18 +01:00
fdfc907052 Add rdmtc alias for rails plugin. 2013-12-11 11:42:11 +02:00
9b37fcba5e unified and improved Rails plugin 2013-11-19 17:14:52 +01:00
8300f62e92 Adding testlog and prodlog. 2013-06-06 00:40:02 -03:00
966108a082 Merge pull request #1724 from miry/rails_aliases
Added global aliases to use RAILS_ENV.
2013-04-23 19:58:30 -07:00
ad3f59252b Added global aliases to use RAILS_ENV. 2013-04-16 10:22:28 +03:00
f7fc164377 Added a migrate alias.
It migrates the DB and prepares the test DB.
2012-12-05 08:21:42 +05:30
b2b5e3a754 Added alias to rake db:test:prepare
Quite often, db:test:prepare is run after db:migrate.
Added for convenience.
2012-11-24 20:42:40 +05:30
81d94e6c9e add rails runner alias 2011-10-19 08:11:49 +08:00
541da0c9d1 Removing capistrano aliases/functions from rails plugin (since cap is not rails-specific). 2010-10-01 14:15:52 -05:00
26d97a9355 Reorganizing plugins so that each plugin has it's own directory now so that any plugin-specific functions can be bundled within there. 2010-09-30 21:34:06 -07:00