Xavier Noria
f17159b029
edit pass: the names of Rails components have a space, ie, "Active Record", not "ActiveRecord"
2010-06-14 23:22:04 +02:00
David Chelimsky
c125116013
docfix (email instead of emai)
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-06-13 22:10:45 +02:00
José Valim
a12079df9f
Tidy up generators based on latest change on AM.
2010-06-13 13:56:08 +02:00
David Chelimsky
d588bbd431
Move ActionMailer::TC to AV::TC::Behavior
...
[#4843 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-06-12 15:34:31 +02:00
José Valim
30eaecb3df
subject is automatically looked up on I18n using mailer_name and action_name as scope as in t('.subject')
2010-06-12 15:33:12 +02:00
David Heinemeier Hansson
32d4330b81
Get ready for beta 4
2010-06-08 14:47:02 -04:00
Mikel Lindsaar
3762362eab
Updating readme for ActionMailer::Base
2010-06-07 23:14:54 -04:00
Mikel Lindsaar
311d99eef0
Adding inline attachment support to ActionMailer
2010-06-07 21:54:53 -04:00
David Heinemeier Hansson
08baa343c8
Extract assets paths and make them available to Action Mailer as well
2010-06-03 23:32:12 +10:00
Santiago Pastorino
52f905715e
Unforce text-format from AM
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-06-03 23:32:11 +10:00
Santiago Pastorino
fa5f93698d
Added missing require, we are using bind method defined on active_support/core_ext/proc
...
[#4610 state:committed]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-16 16:16:15 +02:00
wycats
458f5712dc
Remove the need for a special action_mailer.url_for initializer that loads before anything else
2010-05-15 06:09:07 -07:00
Mikel Lindsaar
058f7feafe
Cleaning up Action Mailer spelling with and without the space
2010-05-04 19:24:40 +02:00
Mikel Lindsaar
fb30feb48b
Adding more docs to ActionMailer
2010-05-04 19:24:40 +02:00
Justin George
731d4392e4
Change event namespace ordering to most-significant first [ #4504 state:resolved]
...
More work still needs to be done on some of these names
(render_template.action_view and render_template!.action_view particularly)
but this allows (for example) /^sql/ to subscribe to all
the various ORMs without further modification
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-02 22:45:54 +02:00
Mikel Lindsaar
ceaa100e59
Adding ability for the procs to be called within the instance, allows you to pass results from instance methods to the mail header
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-02 11:56:08 +02:00
Mikel Lindsaar
08b07b60b6
Adding ability to pass proc's to the ActionMailer class default method
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-02 11:56:08 +02:00
José Valim
cde168edbb
Update generators to use thor 0.13.6 with simpler source_root handling.
2010-04-30 12:42:12 +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
Nathan Weizenbaum
ef5dadaf93
Only run load hooks once a file has been fully loaded.
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2010-04-27 21:37:40 -07:00
Santiago Pastorino
66b55dbfea
Add missing require
2010-04-16 18:44:54 -03:00
José Valim
b4fd5e6f1a
template_name and template_path should not be added to mail headers.
2010-04-13 23:04:22 +02:00
José Valim
3fc609ee41
Fix ActionMailer test broken in 99d5459921
2010-04-12 10:50:27 +02:00
José Valim
b5f9a9fce3
Move set_fields! to the old API module.
2010-04-12 10:25:02 +02:00
Mikel Lindsaar
e157a3d222
Added explict setting of charset in set_fields! method to make sure Mail has the user defined default
2010-04-11 18:04:55 +10:00
Mikel Lindsaar
dbcf01e631
Removing quoting.rb, upgrade to 2.1.3.6, changing all utf-8 references to UTF-8, updating tests where incorrect encoding
2010-04-11 18:04:55 +10:00
Mikel Lindsaar
8f22be04dc
Removing quoting and adding Mail 2.3.5
2010-04-11 18:04:54 +10:00
José Valim
ee309d506c
Update versions (otherwise you install a gem from source as beta3 but internally it's beta2) and update CHANGELOG.
2010-04-10 12:17:34 +02:00
David Heinemeier Hansson
d868cb4f8a
Prep for beta2, depend on latest Bundler
2010-04-01 13:36:45 -07:00
wycats
4aded43b73
Replace the placeholder base_hook API with on_load. To specify some code that
...
should run during framework load do:
ActiveSupport.on_load(:action_controller) do
# Code run in the context of AC::Base
end
2010-03-29 17:08:50 -07:00
Xavier Noria
76f024ac8d
adds missing requires for Object#blank? and Object#present?
2010-03-28 14:15:02 +02:00
José Valim
a09e99259c
Ensure details are frozen after @details_keys lookup. The implementation waits to freeze until the last required moment, to avoid duping hashes.
2010-03-27 20:52:11 +01:00
José Valim
395d6648ce
Move application configuration to the application configuration object, remove railtie_name and engine_name and allow to set the configuration object.
2010-03-26 18:47:55 +01:00
José Valim
f28d856cec
Improve performance of the rendering stack by freezing formats as a sign that they shouldn't be further modified.
2010-03-19 17:20:20 +01:00
Jeremy Kemper
41af6d9a78
Use Array.wrap not Array()
2010-03-17 22:27:48 -07:00
wycats
cd9ffd11e1
Eliminate warnings for AM on 1.8
2010-03-16 23:24:00 -07:00
José Valim
2a12686832
Allow anything that responds to render to be given as :template and use find_template instead of find in views.
2010-03-12 14:25:10 +01:00
José Valim
00d6271d2b
Clean up the API required from ActionView::Template.
2010-03-09 13:12:11 +01:00
José Valim
7942e90960
Merge master.
2010-03-08 21:06:26 +01:00
José Valim
36eb1a686c
Bring AM up to date with new rendering stack.
2010-03-08 20:57:33 +01:00
José Valim
ffd8d753f1
Move layout lookup to views.
2010-03-08 02:04:18 +01:00
José Valim
c7564d74e8
Added template lookup responsible to hold all information used in template lookup.
2010-03-07 19:41:58 +01:00
wycats
39d6f9e112
Make many parts of Rails lazy. In order to facilitate this,
...
add lazy_load_hooks.rb, which allows us to declare code that
should be run at some later time. For instance, this allows
us to defer requiring ActiveRecord::Base at boot time purely
to apply configuration. Instead, we register a hook that should
apply configuration once ActiveRecord::Base is loaded.
With these changes, brings down total boot time of a
new app to 300ms in production and 400ms in dev.
TODO: rename base_hook
2010-03-07 06:24:30 -08:00
Pavel Golubeff
cd5ec4744d
Fix quoting regexp encoding in ActionMailer
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-03 10:12:42 +01:00
Carlhuda
aa749a74f6
Get the railties tests to pass again.
2010-03-02 14:00:25 -08:00
Carlhuda
b01db07a9f
Moved initializers for ActionMailer and ActionController into their own railties
2010-03-02 12:32:31 -08:00
Bryan Helmkamp
a4111bbca0
Update versions of all components to normalize them to new format
2010-03-02 00:32:48 -05:00
Carlhuda
98f77e0827
Rename named_url_helpers to url_helpers and url_helpers to url_for
2010-02-26 15:04:50 -08:00
Carlhuda
9a5be2e5a8
Get Railties tests passing
2010-02-25 17:53:01 -08:00