Commit Graph

524 Commits

Author SHA1 Message Date
Santiago Pastorino
157ea76306 format lookup for partials is derived from the format in which the template is being rendered
Closes #5025 part 2
2012-02-22 11:12:03 -02:00
Vijay Dev
2cb86cdb8a Merge branch 'master' of github.com:lifo/docrails 2012-02-18 22:02:34 +05:30
Alexey Vakhov
7f33a44ecd Fix AM format_paragraph helper method if a first word is long 2012-02-15 12:09:00 +04:00
Alexey Vakhov
393d4eca8f Cosmetic fixes in block_format AM helper method + test 2012-02-15 10:31:23 +04:00
Alexey Vakhov
dadace4c9d Fix AM block_format helper method description 2012-02-15 10:09:58 +04:00
Aaron Patterson
6a88302a5f Merge pull request #4606 from lest/patch-1
remove unnecessary AS::Concern usage
2012-01-24 12:07:56 -08:00
Sergey Nartimov
3fbc042b58 Use instance_eval instead of Proc#bind
Proc#bind is not useful when called immediately and previous check for #call method is not correct
2012-01-23 23:28:18 +03:00
Sergey Nartimov
d579df93d5 remove unnecessary AS::Concern usage 2012-01-22 22:19:29 +03:00
José Valim
4e6050b961 Merge pull request #4605 from lest/patch-1
remove obsolete code as old actionmailer api was removed
2012-01-22 09:58:49 -08:00
Sergey Nartimov
c0a445617f remove obsolete code as old actionmailer api was removed 2012-01-22 20:21:39 +03:00
Sachin87
c1763975e5 some modifications in action_mailer/base.rb 2012-01-22 10:01:10 +05:30
Sergey Nartimov
7d862359d0 get rid of using instance_variable_names method from AS
- instance_variables return symbols in 1.9
- there is instance_variable_defined? method
2012-01-07 14:44:47 +03:00
Aaron Patterson
5d09d395de test cases should inherit from AS::TestCase 2012-01-05 17:05:43 -08:00
Rafael Mendonça França
3438f6ca74 Array.wrap is no longer needed here 2012-01-05 16:24:48 -03:00
Sergey Nartimov
b340f889ff use Array#uniq in AM instead of deprecated Array#uniq_by 2011-12-24 16:04:41 +03:00
Indrek Juhkam
11b67b38bd fix default_i18n_subject comment in ActionMailer::Base 2011-12-20 18:09:17 +02:00
David Heinemeier Hansson
632fa15fa4 rails/master is now 4.0.0.beta and will only support Ruby 1.9.3+ 2011-12-20 09:30:37 -06:00
David Heinemeier Hansson
9d6e52b55e Party like its R-C-UNO! 2011-12-19 18:34:57 -06:00
Piotrek Okoński
5266eb9f61 Default relative_url_root to ENV["RAILS_RELATIVE_URL_ROOT"]. Fixes #3365 2011-12-12 17:11:07 +01:00
Jeremy Kemper
b757663af7 Using InstanceMethods in a Concern is deprecated 2011-11-30 10:06:07 -07:00
Andrew France
66880cfe41 Correct ActionMailer subject i18n lookup scope.
The :actionmailer i18n scope part is not used and according to https://github.com/rails/rails/pull/2542 the implementation is correct.
2011-10-20 12:32:11 +02:00
Alexey Vakhov
0defbc6bfe normalize arg for ActionMailer::TestCase tests method 2011-10-03 14:27:41 +04:00
Alexey Vakhov
80f1d402e5 update ActionMailer example using last truncate helper method signature 2011-09-26 21:52:16 +04:00
Santiago Pastorino
35cdd256c0 Master version is 3.2.0.beta 2011-06-30 10:18:36 -03:00
Matt Jankowski
100b675cba singularize module and be explicit about what is delivered 2011-06-21 10:20:01 -04:00
Matt Jankowski
f3db04f69b grammar (missing "a") and formatting 2011-06-21 09:12:34 -04:00
Matt Jankowski
4f433bcd8d clarify why the only_path => false option is needed when default :host has been set for mailers 2011-06-21 09:10:52 -04:00
Matt Jankowski
1f4fb6f635 elaborate details on why to use _url instead of _path in mailers 2011-06-21 09:04:28 -04:00
JudeArasu
d0c4fd75f2 typo changes 2011-06-19 12:14:00 +05:30
Jason Fox
b62c5493d1 The name for the plain text template in Rails3 appears to be method.text.erb, not, method.text.plain.erb. Updated the doc to reflect this change. Also fixed a reference to an example that was incorrect. 2011-06-15 12:38:01 -04:00
Vijay Dev
a4679839ad fix typo 2011-06-08 03:52:33 +05:30
Paco Guzman
5acf76d173 Add action_mailer observer and interceptors configuration options 2011-06-07 23:27:09 +02:00
Teng Siong Ong
9a67a117b3 minor typo in the rdoc about Interceptor. 2011-05-28 13:58:47 +08:00
Teng Siong Ong
0f0213f490 minor spacing fix in code example in ActionMailer::Base. 2011-05-28 13:58:02 +08:00
Xavier Noria
00e1d0832e Merge branch 'master' of git://github.com/lifo/docrails
Conflicts:
	actionmailer/lib/action_mailer/base.rb
	activesupport/lib/active_support/core_ext/kernel/requires.rb
2011-05-25 22:48:47 +02:00
Josh Kalderimis
d500ad3f05 Removed deprecated ActionMailer API and related tests 2011-05-24 18:52:11 +02:00
Sebastian Martinez
5d0d4d8ad3 Remove extra white spaces on ActionMailer docs. 2011-05-23 20:24:04 -03:00
David Heinemeier Hansson
82857adc56 Bump versions for rc1 2011-05-21 20:56:52 -05:00
José Valim
d42bb68430 More updates to ivars list. 2011-05-06 14:57:25 +02:00
José Valim
894bdbd53d Move variables to underscore format, update protected instance variables list. 2011-05-06 14:57:25 +02:00
David Heinemeier Hansson
169ae75e09 Prepare for beta1 2011-05-04 20:21:05 -05:00
Xavier Noria
e162e912c9 Merge branch 'master' of git://github.com/lifo/docrails
Conflicts:
	railties/guides/source/ajax_on_rails.textile
	railties/guides/source/generators.textile
2011-04-19 21:54:10 +02:00
Xavier Noria
3265516c50 brings a #:nodoc: back 2011-04-19 21:00:15 +02:00
Florent Piteau
a1639ad752 Undocumented :openssl_verify_mode option for smtp_settings 2011-04-19 20:44:20 +02:00
Sebastian Martinez
082e299e97 docs for ActionMailer::Base.default_i18n_subject 2011-04-18 23:37:27 -03:00
Prem Sichanugrist
0f8a6ebba3 Fix missing requires in Action Mailer
This made the isolated test failed on CI server.

Signed-off-by: Xavier Noria <fxn@hashref.com>
2011-04-13 19:52:19 +02:00
Josh Kalderimis
cb9e501a28 AM register_interceptor and register_observer only constantize if the argument is a String 2011-04-06 02:45:37 +08:00
Josh Kalderimis
284ca810c1 remove AM delegating register_observer and register_interceptor to Mail and instead implement smarter versions allowing for string class names, also added proper Railtie support with tests.
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-04-04 10:49:09 +02:00
Santiago Pastorino
51a269b228 Fix typo 2011-03-09 20:17:30 -02:00
Diego Carrion
8e73e589a8 publicise ActionMailer::MailHelper.format_paragraph
[#6550 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-03-09 18:36:39 -02:00