1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-14 18:00:08 +00:00
Commit graph

39 commits

Author SHA1 Message Date
Josh Powell
b1b3a020ec
feat(rails): add some aliases (#11739) 2023-06-15 11:03:45 +02:00
Zhong Zheng
92387d9fff
feat(rails): add rta alias (#11553) 2023-03-10 15:52:44 +01:00
romanch
98ed582e6a feat(rails): add fmns alias for foreman start (#9600)
Closes #9600
2022-03-07 22:37:04 +01:00
Marc Cornellà
47d313c904 chore(rails): fix comments and docs 2022-03-07 22:37:04 +01:00
Alexey Poimtsev
3075d0c0ab feat(rails)!: run old rake aliases with rails (#9601)
BREAKING CHANGE: we've updated the aliases that run `rake` to use
`rails` instead because that's how they are run since Rails v5.
The old `rake` aliases can still be run by using the `rk` prefix
(e.g. the `rake test` alias has been changed from `rt` to `rkt`).

Closes #9601
Closes #9813
Fixes #10696

Co-authored-by: Vsevolod Voloshyn <seva.voloshin@gmail.com>
2022-03-07 22:37:04 +01:00
Dzianis Dashkevich
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
Dzianis Dashkevich
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
Eric Liu
580c28dedd
feat(rails): add 'rails server --bind' alias (#4977) 2021-06-11 20:07:21 -07:00
Kartikey Tanna
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
Angelos Orfanakos
74165aba4a rails: detect gems.rb in _rake_command (#8223) 2019-10-18 21:56:30 +02:00
Mert Simsek
5aa62461d9 rails: change rg alias to rgen (#7858)
The rg alias conflicted with ripgrep.
2019-05-17 14:36:20 +02:00
David Librera
905eb815fa Check first for bin/stubs directory in _rails_command and _rake_command (#6372) 2017-11-04 10:33:57 -07:00
Mohnish G J
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
Thiago Leite Luiz
75f2f4e027 Adding alias to rake db:schema:load command. (#5281) 2016-08-14 18:01:13 -07:00
Satoshi Ohmori
06659f7fc1 Support bundler 2015-12-25 19:54:12 +09:00
Gustavo Villa
e5164d7b70 Add 'rake stats' alias. 2015-10-15 16:14:54 -03:00
Gustavo Villa
b18d386d7f Add option '--port' to 'rails server' alias. 2015-10-12 04:32:22 -03:00
Gustavo Villa
3e04cd62d3 Add 'rake middleware' alias. 2015-09-28 14:59:06 -03:00
Robby Russell
544eccb5dd Fixing conflict in rails plugin merge with rake test shortcut 2015-09-19 08:58:24 -07:00
Mohnish Jadwani
3f83331c71 removes a trailing white space 2015-08-17 06:23:58 +05:30
Headless
750de22972 rails rake test 2015-07-07 15:44:35 +03:00
Mohnish Jadwani
dff03743ef adds an alias to search for the rails routes that pattern match a string 2015-07-07 09:47:49 +05:30
Robby Russell
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
Michele Bologna
1a4dc0d2db Renamed 'ss' alias to 'sstat' (to avoid collision with /bin/ss). 2015-06-11 21:10:38 +02:00
Rodrigo Argumedo
b7d041c627 Add rdrs method to reset the database(s) 2015-06-09 13:41:34 -06:00
Dzianis Dashkevich
a55a313328 Add rdms alias to rails plugin 2015-01-09 16:46:02 +03:00
Christopher Kochan
bf134e9cb3 Fix for recusion limit hit for _rake_command alias 2014-07-15 12:37:53 -07:00
Robby Russell
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
LFDM
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
Mikhail Nikalyukin
fdfc907052 Add rdmtc alias for rails plugin. 2013-12-11 11:42:11 +02:00
Thomas Kriechbaumer
9b37fcba5e unified and improved Rails plugin 2013-11-19 17:14:52 +01:00
Lucas Uyezu
8300f62e92 Adding testlog and prodlog. 2013-06-06 00:40:02 -03:00
Robby Russell
966108a082 Merge pull request #1724 from miry/rails_aliases
Added global aliases to use RAILS_ENV.
2013-04-23 19:58:30 -07:00
Michael Nikitochkin
ad3f59252b Added global aliases to use RAILS_ENV. 2013-04-16 10:22:28 +03:00
Timothy Andrew
f7fc164377 Added a migrate alias.
It migrates the DB and prepares the test DB.
2012-12-05 08:21:42 +05:30
Srihari Sriraman
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
Godwin Ko
81d94e6c9e add rails runner alias 2011-10-19 08:11:49 +08:00
Jake Bell
541da0c9d1 Removing capistrano aliases/functions from rails plugin (since cap is not rails-specific). 2010-10-01 14:15:52 -05:00
Robby Russell
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
Renamed from plugins/rails.plugin.zsh (Browse further)