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 |
|
Prem Sichanugrist
|
f2769ebd7e
|
Update Mailer generator to use 1.9 styled hash when run on Ruby 1.9
As always, you can run `--old-style-hash` to override that.
|
2011-05-13 18:25:32 -04:00 |
|
Aditya Sanghi
|
ae812e9fc9
|
adding test for namedspaced mailers
|
2010-10-06 19:45:13 +11:00 |
|
José Valim
|
a12079df9f
|
Tidy up generators based on latest change on AM.
|
2010-06-13 13:56:08 +02:00 |
|
José Valim
|
7b98d2aa59
|
Reorganize the mailer generator a bit.
|
2010-04-30 12:11:38 +02:00 |
|
Carlhuda
|
c54c84b7b4
|
Move ActionMailer generator to AM
|
2010-04-29 16:45:57 -07:00 |
|
José Valim
|
b61f6f5980
|
Load generators from both lib/rails/generators and lib/generators. Using the former since it's less obstrusive.
|
2010-03-23 13:40:41 +01:00 |
|
José Valim
|
fb89aba8b4
|
Killing fixtures in mailer before they kill me (they usually lead to very brittle tests).
|
2010-03-22 21:07:37 +01:00 |
|
Jeremy Kemper
|
4884f28c80
|
Also revert mailer generator test changes in 8b50f89
|
2010-03-21 16:18:32 -07:00 |
|
José Valim
|
8b50f89ba7
|
Make ERB generators more flexible and customizable.
|
2010-03-21 19:30:42 +01:00 |
|
Jeremy Kemper
|
452bb1e48d
|
Rename 'defaults' class method to 'default' to reflect that it's a declaration
|
2010-01-27 19:38:17 -08:00 |
|
Jeremy Kemper
|
079714277d
|
Attend to brittle mailer generator tests
|
2010-01-27 19:33:26 -08:00 |
|
José Valim and Mikel Lindsaar
|
8fabcb2eca
|
Update generators to use new defaults.
|
2010-01-26 11:48:25 +01:00 |
|
Mikel Lindsaar
|
b8c82edc1f
|
Updating generators for mailer to reflect changes in API
|
2010-01-26 18:59:52 +11:00 |
|
José Valim and Mikel Lindsaar
|
1b3cb54eba
|
More work on generated mailer templates.
|
2010-01-26 01:09:08 +01:00 |
|
José Valim and Mikel Lindsaar
|
9cb3ca1d29
|
Change mailer generator templates and refactor the whole naming schema.
|
2010-01-25 13:20:32 +01:00 |
|
José Valim
|
c7255386cd
|
script/generate mailer Notifier will now create a mailer at app/mailers.
|
2010-01-19 01:36:06 +01:00 |
|
José Valim
|
a18dd52d58
|
Get generators tests running on Ruby 1.9.1
|
2010-01-19 01:36:06 +01:00 |
|
José Valim
|
9fffdc5cdb
|
Generators load path now will be Ruby load path. If you want to use rspec:install generator, you need generators/rspec/install_generator in your load path.
|
2010-01-18 16:21:11 +01:00 |
|
José Valim
|
271e7c803f
|
Move all generators tests to use new test case syntax.
|
2010-01-03 17:14:50 +01:00 |
|
Yehuda Katz
|
14370e1aab
|
CI breakage
This reverts commit a288b74f1c .
|
2009-11-02 17:12:01 -08:00 |
|
José Valim
|
a288b74f1c
|
Generators should use Rails.root instead of Dir.pwd [#3408 status:resolved]
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-10-28 16:54:38 -04:00 |
|
Yehuda Katz + Carl Lerche
|
f0dd77c6be
|
Move railties/lib/* into railties/lib/*
|
2009-09-24 16:11:41 -07:00 |
|
José Valim
|
a06c825b46
|
Updated vendored Thor to 0.11.1 and update Rails::Generators.
|
2009-07-14 22:20:43 +02:00 |
|
José Valim
|
09c288f0c5
|
Add the new generators environment and update commands.
|
2009-07-08 12:55:50 +02:00 |
|
José Valim
|
d1c404ee90
|
Added lookup to generators.
|
2009-07-03 14:57:46 +02:00 |
|
José Valim
|
acaeaf308a
|
Add a fixture replacement hook to TestUnit model generator.
|
2009-06-27 21:29:59 +02:00 |
|
José Valim
|
8c5622f0d4
|
Initial scratch of model generators.
|
2009-06-27 21:29:59 +02:00 |
|
José Valim
|
e2346244a2
|
Added Controller Generators.
|
2009-06-26 11:59:14 +02:00 |
|
José Valim
|
aee63a12f2
|
More tests for mailer.
|
2009-06-25 16:27:44 +02:00 |
|
José Valim
|
534f7b54e3
|
Mailer tests.
|
2009-06-25 16:21:33 +02:00 |
|