Commit Graph

12682 Commits

Author SHA1 Message Date
Mikel Lindsaar 21dcc20ed2 Fixed up documentation to reflect code change and cleaned up tests of spurious #deliver calls 2010-01-27 00:18:40 +11:00
Mikel Lindsaar 9520166f70 Fixed up being able to pass random headers in with headers, or mail. Also, undeprecated headers(hash) as this works now too 2010-01-27 00:06:19 +11:00
José Valim and Mikel Lindsaar 9dd65c368b Make defaults accept a hash. 2010-01-26 11:21:20 +01:00
Mikel Lindsaar b8c82edc1f Updating generators for mailer to reflect changes in API 2010-01-26 18:59:52 +11:00
Mikel Lindsaar e297eed4f2 Fixing up expectations in base_test.rb 2010-01-26 17:11:36 +11:00
Mikel Lindsaar 0b05acd424 Implementing class level :defaults hash, instead of delivers_from et al 2010-01-26 17:08:55 +11:00
Carlhuda 64f8c87b1d Fix AR's rake tasks to work with the Rails::Application refactor 2010-01-25 17:55:54 -08:00
José Valim abad097016 Merge remote branch 'mikel/master' 2010-01-26 01:56:52 +01:00
José Valim and Mikel Lindsaar c02391f8f9 Fix small typo. 2010-01-26 01:54:23 +01:00
José Valim and Mikel Lindsaar 4af2bbc6b4 Merge branch 'master' of github.com:mikel/rails 2010-01-26 01:51:23 +01:00
José Valim and Mikel Lindsaar 74a5889abe Refactor content type setting, added tests to ensure boundary exists on multipart and fixed typo 2010-01-26 11:49:59 +11:00
José Valim and Mikel Lindsaar 6589976533 Remove old files, add some information to docs and improve test suite. 2010-01-26 01:43:41 +01:00
José Valim and Mikel Lindsaar 1b3cb54eba More work on generated mailer templates. 2010-01-26 01:09:08 +01:00
José Valim 8974dac92e Ensure root routes inside optional scopes works as expected. 2010-01-26 00:55:26 +01:00
José Valim 5d07869245 Ensure all initializers are collections. 2010-01-26 00:08:08 +01:00
José Valim a89c8cb528 Merge branch 'master' of git://github.com/rails/rails
Conflicts:
	railties/test/railties/plugin_test.rb
2010-01-25 23:44:03 +01:00
José Valim 49be3316c2 Add a deprecation for helpers_dir. 2010-01-25 23:38:47 +01:00
Joshua Peek 3086dbd8d0 Failing test for plugin init requiring another plugin lib file 2010-01-25 16:33:29 -06:00
José Valim cc1bb8590e Refactor some railties tests structure. 2010-01-25 23:17:39 +01:00
José Valim 02908e1142 As first step setup the load path and lazy compare middlewares. 2010-01-25 22:59:08 +01:00
José Valim 1177a40e68 Fix i18n locales order test. 2010-01-25 22:10:11 +01:00
Joshua Peek c6104e6514 Failing test for using plugin middleware in application config 2010-01-25 12:55:30 -06:00
Joshua Peek 2d1f9fb98f Plugins need to load before app initializers 2010-01-25 11:06:39 -06:00
José Valim and Mikel Lindsaar f14390091c We don't support enriched yet 2010-01-26 00:09:18 +11:00
José Valim and Mikel Lindsaar 4a6eba3232 Added initial documentation for the new API 2010-01-25 23:46:23 +11: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 and Mikel Lindsaar ad8f5d4106 Updated to mail 2.1.1 2010-01-25 23:15:16 +11:00
José Valim and Mikel Lindsaar d5e4e9185b Updated gemspec for Mail 2010-01-25 21:47:24 +11:00
José Valim and Mikel Lindsaar ace74974cf Got AM working with Mail yield on delivery_handler and updated tests 2010-01-25 21:47:03 +11:00
José Valim and Mikel Lindsaar 4240369a43 changed test to get TestMailer to use :file delivery method directly (as setup action was resetting delivery_method to :test on init 2010-01-25 13:46:44 +11:00
José Valim and Mikel Lindsaar e4a989e9d9 Added delivery_handler method to mail and implemented in ActionMailer to deliver inside of instrumentation 2010-01-25 13:39:48 +11:00
José Valim 3b6f659fb6 Add active_model/railtie back to generated boot.rb, add models back to paths, load active_support/railtie since we need it and ensure default logger is set before config. 2010-01-25 01:12:22 +01:00
José Valim and Mikel Lindsaar e1c1318638 Added delivers_from. 2010-01-25 00:37:12 +01:00
José Valim and Mikel Lindsaar 48faf53be1 Add some view paths tests. 2010-01-25 00:20:38 +01:00
José Valim and Mikel Lindsaar 90e9e46576 Merge branch 'master' of github.com:mikel/rails 2010-01-24 23:59:29 +01:00
José Valim and Mikel Lindsaar 0ece244fee Ensure implicit multipart templates with locale works as expected. 2010-01-24 23:59:12 +01:00
José Valim and Mikel Lindsaar 4e96442c4e Merge branch 'master' of git://github.com/rails/rails
Conflicts:
	actionmailer/lib/action_mailer/mail_helper.rb
	railties/lib/rails/configuration.rb
2010-01-25 09:50:01 +11:00
José Valim and Mikel Lindsaar c0262827ca Speed up some Hash core extensions. 2010-01-24 23:40:45 +01:00
José Valim and Mikel Lindsaar 328b0b1268 Remove deprecated behavior since 2.3. 2010-01-24 23:32:09 +01:00
José Valim and Mikel Lindsaar 0361414ae3 Add uniq_by and uniq_by! to Array. 2010-01-24 23:28:52 +01:00
Rizwan Reza 396003fc48 Revamp of Rails documentation task
Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
2010-01-24 13:16:38 -08:00
José Valim 6e57b88c60 Fix a couple failures on 1.9.1. 2010-01-24 21:21:37 +01:00
José Valim and Mikel Lindsaar a74a655648 Add tests to mail helper. 2010-01-24 19:52:50 +01:00
José Valim and Mikel Lindsaar bd96614101 Move old tests to a specific folder and add some delivery method tests. 2010-01-24 19:36:42 +01:00
José Valim and Mikel Lindsaar 99f960a3d7 Handle some TODOs and deprecations. 2010-01-24 18:40:04 +01:00
José Valim and Mikel Lindsaar 0d931fecbb Finish cleaning up delivery methods implementation. 2010-01-24 18:11:57 +01:00
José Valim and Mikel Lindsaar 5dead5bb88 Maintain old_api and deprecated_api in different files. 2010-01-24 17:49:48 +01:00
Joshua Peek 9543298d02 Use Rails::Application ref in Rakefile and console scripts.
Less places you need to change if you rename your application.
2010-01-24 10:35:45 -06:00
José Valim and Mikel Lindsaar f30d73bab4 Add new class delivery method API. 2010-01-24 17:31:18 +01:00
Joshua Peek 9212652155 Add Rails::Application pointer to the default app to add symmetry to Foo::Application 2010-01-24 10:29:38 -06:00