wycats
7c568fda6b
A bunch of cleanup on the inherited template patch
2010-12-26 23:44:51 -08:00
Vijay Dev
4038a6bc0f
minor fixesin READMEs
2010-12-20 01:07:33 +05:30
José Valim
8e6d27641c
Clean up asset_host and asset_path.
2010-12-09 13:40:45 +01:00
Aditya Sanghi
f07ff29ea9
Merge branch 'master' of https://github.com/peterb/docrails into peterb-master
2010-11-29 21:41:48 +05:30
Xavier Noria
fd83f9d515
Merge branch 'master' of git://github.com/lifo/docrails
2010-11-27 07:43:59 +01:00
Ryan Bigg
8d1c56148f
Merge branch 'master' of github.com:lifo/docrails
...
* 'master' of github.com:lifo/docrails:
Fix missing word in ActionMailer::Base documentation.
2010-11-26 14:26:29 +11:00
Ryan Bigg
e968acc21c
Update ActionMailer documentation to not use deprecated template_root method as documentation, but rather raise_delivery_errors method
2010-11-26 14:25:46 +11:00
Cheah Chu Yeow
ad8e1ba452
Fix missing word in ActionMailer::Base documentation.
2010-11-25 16:11:26 +08:00
raggi
cb1570936d
Rakefiles are executables, and rake loads rake, not rakefile code
2010-11-25 06:49:55 +08:00
Josh Kalderimis
d7db6a8873
class inheritable attributes is used no more! all internal use of class inheritable has been changed to class_attribute. class inheritable attributes has been deprecated.
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-11-20 19:40:29 +01:00
Carl Lerche
ccd2f3ede5
Update the version.rb files to include a PRE part
2010-11-16 17:19:46 -08:00
Mikel Lindsaar
8124b2bc24
Revert "Bump up mail dependency to take advantage of relaxed i18n version requirement"
...
Locking to ~> 2.2.9.1 means locking to < 2.2.10, not intended behaviour.
This reverts commit e7de5dd11e
.
2010-11-16 00:23:03 +11:00
Mikel Lindsaar
e7de5dd11e
Bump up mail dependency to take advantage of relaxed i18n version requirement
2010-11-16 00:08:23 +11:00
Xavier Noria
41366cdec6
syncs CHANGELOGs for 3.0.2 in 3-0-stable with the ones in master
2010-11-09 20:56:41 +01:00
Mikel Lindsaar
c40074c1c7
Updating mail dependency to 2.2.9
2010-10-26 18:50:30 +11:00
Santiago Pastorino
460c4efd71
Merge CHANGELOGs from 3-0-stable
2010-10-18 12:24:41 -02:00
Neeraj Singh
ea14396c45
replace if ! with unless
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-10-17 12:26:32 -02:00
Peter Baker
5a898e106a
Explain actionamailer authentication types
2010-10-14 11:24:25 -05:00
wycats
cc8e386d08
Always pull in version for frameworks (standardize autoload / require / none)
2010-10-10 16:12:04 -07:00
James Mead
f415b3e6d1
Remove old workaround for mocha bug. [ #3886 state:committed]
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-10-08 15:21:08 -02:00
José Valim
d649bf158b
Provide a cleaner syntax for paths configuration that does not rely on method_missing.
2010-10-06 17:20:15 +02:00
Aditya Sanghi
990719bb59
mailer comment should use namespace in comment
2010-10-06 19:45:13 +11:00
Santiago Pastorino
4920312643
PERF: Don't create unnecessary objects
2010-10-03 14:58:23 -02:00
Santiago Pastorino
10249d7b77
PERF: change inject({}) with Hash + map
2010-10-03 14:52:46 -02:00
Aaron Patterson
e8c9cac1c3
self is implied, so remove self
2010-09-29 15:16:44 -07:00
Aaron Patterson
4d7b2ee524
dry up method missing
2010-09-29 15:07:33 -07:00
José Valim
6067d16200
Call it compile_methods! and do the same on AM.
2010-09-27 20:43:56 +02:00
Santiago Pastorino
14d2feeeab
Bump up some deps
2010-09-26 00:29:38 -03: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
wycats
f6153f74da
Merge remote branch 'drogus/engines'
2010-09-11 03:24:50 -05:00
Mikel Lindsaar
477df63433
Updating ActionMailer dependency to 2.2.6
2010-09-11 15:45:28 +10:00
Piotr Sarnacki
18aee33335
Do not require passing :app to mounted helpers, it's actually useless and not DRY
2010-09-08 19:27:59 +02:00
Piotr Sarnacki
b7bfeaa9fc
Fix action mailer tests after old mapper removal
2010-09-05 13:44:38 +02:00
Piotr Sarnacki
98ab4ded37
Set only helpers_path on inherited hook in action_controller/railtie.rb and use helper(:all) just after that
2010-09-03 22:59:13 +02:00
Piotr Sarnacki
e5af8b7d85
Moved ActionMailer and ActionController railties options to inherited hook
...
This change is needed, because we must take namespace into account and if
controller's/mailer's class is namespaced, engine's paths should be set
instead of application's ones.
The nice side effect of this is removing unneeded logic in
ActionController::Base.inherited - now the helpers_path should be set
correctly even for engine's controllers, so helper(:all) will always
include correct helpers.
2010-09-03 22:59:12 +02:00
Piotr Sarnacki
d812677277
We don't need to clear action_methods on inherited hook as they are cleaned on method_added hook
2010-09-03 22:59:12 +02:00
Piotr Sarnacki
56ef192374
ActionMailer should not depend on ActionDispatch
2010-09-03 22:59:12 +02:00
Piotr Sarnacki
79bd92b783
Refactor ActionMailer to not use hide_actions
2010-09-03 22:59:11 +02:00
Piotr Sarnacki
4131a2d804
Move ActionController::Railties::RoutesHelpers and ActionMailer::Railties::RoutesHelper to AbstractController::Railties::RoutesHelpers
2010-09-03 22:59:11 +02:00
Piotr Sarnacki
32baa27892
Include routes helpers only for inherited classes in ActionMailer
2010-09-03 22:59:10 +02:00
Piotr Sarnacki
c7664d112f
Include application's helpers and router helpers by default, but include engine's ones for controllers inside isolated namespace
2010-09-03 22:59:10 +02:00
Piotr Sarnacki
8fdeff0fa5
mounted helpers should be included in ActionMailer
2010-09-03 22:59:10 +02:00
José Valim
d37a65307d
Merge josevalim/deprecations branch.
...
I maintained on purpose the DeprecatedUrlOptions in ActionMailer and the Deprecated configuration in Railties because they were already addressed by Piotr in his RSoC work.
2010-08-30 15:55:10 -03:00
Jeremy Kemper
b861942691
Update CHANGELOGs for 3.0 release and upcoming 3.1
2010-08-29 22:06:48 -07:00
José Valim
972efa11fd
Deprecate the old mailer API that was not deprecated yet.
2010-08-29 20:42:13 -03:00
José Valim
f5a43138d4
Remove the deprecated API from ActionMailer.
2010-08-29 19:57:51 -03:00
Jeremy Kemper
0d0c46abd1
Clean up CHANGELOGs
2010-08-28 15:45:14 -07:00
José Valim
84cab320bc
Ensure templates like template.html are found but still uses the proper virtual path.
2010-08-26 16:07:54 -03:00
David Heinemeier Hansson
21b1f29720
Master is now targeting 3.1.0.beta
2010-08-23 21:44:57 -05:00
Santiago Pastorino
8d1ee434da
Silence warnings for Encoding.default_external= and Encoding.default_internal=
2010-08-22 18:43:31 -03:00