José Valim
51095be1b0
Get rid of more 1.8.x dead code
2011-12-20 17:59:26 +01:00
Stefan Sprenger
246c367570
Use RAILS_ISOLATED_ENGINE and fix namespaced generators tests
2011-06-07 12:16:05 +02:00
tomhuda
74ade51eee
Move SCSS generators and default templates from Rails to the Sass Railtie (d435726312601edb3ba6f97b34f562221f72c1f8).
...
* Sass gem registers a compressor
* Sass gem registers generators for assets and scaffold
* Create a default stylesheet_engine ("css") for apps that remove the Sass gem
2011-05-24 16:04:28 -07:00
Akira Matsuda
cce461511b
be sure to parenthesize the arguments when the first one is a RegExp literal
...
this fixes: "warning: ambiguous first argument; put parentheses or even spaces"
because: you need this to tell the parser that you're not calling :/ method (division)
details (Japanese!): http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-dev/42445?42370-43277
2011-05-18 23:20:19 +09:00
Arun Agrawal
546db693fb
Fixed failing tests for namespaced_generators_test. in 1.9.2
2011-05-14 14:06:06 +05:30
José Valim
60547391c9
Fix more generator tests.
2011-04-17 22:08:21 +02:00
Piotr Sarnacki
d0d30e767d
Fix scaffold generator to be aware of namespace in isolated engine
2010-11-03 20:48:40 +01:00
Piotr Sarnacki
5d5eb2b18d
Rename namespace method to isolate_namespace.
...
This change caused by confusion caused by calling engine
"namespaced". Stuff inside engine can be namespaced for every
engine. This method is not actually namespacing anything, it's
isolating engine within the given namespace.
2010-10-09 21:32:34 +02:00
Piotr Sarnacki
51c7660e08
Add namespacing to mailer generator
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-25 17:28:10 +02:00
Piotr Sarnacki
7acf64a81b
Add namespacing for observer generator
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-25 17:28:10 +02:00
Piotr Sarnacki
49c3ad7f77
Add namespace for test_unit generators
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-25 17:28:10 +02:00
Piotr Sarnacki
00aa13bc0e
Generators fix: properly check if module should be created when creating a namespaced model
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-25 10:46:22 +02:00
Piotr Sarnacki
e83634081a
Generators are not aware of namespace of isolated engines and applications
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-24 21:02:24 +02:00