Commit Graph

8 Commits

Author SHA1 Message Date
Prathamesh Sonpatki 39b8b8fdbf rails -> Rails [ci skip] 2013-05-09 17:27:58 +05:30
Xavier Noria 447b6a4e67 removes usage of Object#in? from the code base (the method remains defined by Active Support)
Selecting which key extensions to include in active_support/rails
made apparent the systematic usage of Object#in? in the code base.
After some discussion in

    5ea6b0df9a

we decided to remove it and use plain Ruby, which seems enough
for this particular idiom.

In this commit the refactor has been made case by case. Sometimes
include? is the natural alternative, others a simple || is the
way you actually spell the condition in your head, others a case
statement seems more appropriate. I have chosen the one I liked
the most in each case.
2012-08-06 00:30:02 +02:00
Piotr Sarnacki 2ce5e4fa6c Give more detailed instructions in script/rails in engine
closes #4894
2012-05-04 23:11:11 -07:00
Guillermo Iguaran d17954c7d8 Add destroy alias to engines 2011-08-22 23:39:17 -05:00
Stefan Sprenger f18283194b Use namespace if it's a mountable engine 2011-06-07 11:21:38 +02:00
Stefan Sprenger 0ac5c03f16 Add destroy to engine's commands 2011-05-27 13:50:42 +02:00
Stefan Sprenger b7476767e6 Move requiring engine out of the switch case 2011-05-27 08:46:57 +02:00
Stefan Sprenger 835c9cee3e Introducing engine commands 2011-05-26 17:59:00 +02:00