Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed many references to the old config/environment.rb and Rails::Initializer | Benjamin Quorning | 2010-07-13 | 1 | -1/+1 | |
| | ||||||
* | Fixes for "router" and "routes" terminology | Wincent Colaiuta | 2010-07-03 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit f7ba614c2db improved the internal consistency of the different means of accessing routes, but it introduced some problems at the level of code comments and user-visible strings. This commit applies fixes on three levels: Firstly, we remove or replace grammatically invalid constructs such as "a routes" or "a particular routes". Secondly, we make sure that we always use "the router DSL" or "the router syntax", because this has always been the official terminology. Finally, we make sure that we only use "routes" when referring to the application-specific set of routes that are defined in the "config/routes.rb" file, we use "router" when referring on a more abstract level to "the code in Rails used to handle routing", and we use "routing" when we need an adjective to apply to nouns such as "url_helpers. Again this is consistent with historical practice and other places in the documentation. Note that this is not a sweep over the entire codebase to ensure consistent usage of language; it is just a revision of the changes introduced in commit f7ba614c2db. Signed-off-by: Wincent Colaiuta <win@wincent.com> Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Unify routes naming by renaming router to routes | Piotr Sarnacki | 2010-07-02 | 1 | -2/+2 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | docs: note that mail() accepts arbitrary headers | Wincent Colaiuta | 2010-06-30 | 1 | -1/+3 | |
| | | | | | | | | | The documentation makes it sound like mail() only accepts a limited set of headers in the headers hash, but it in fact accepts any arbitrary headers, and there is a test ("can pass random headers in as a hash to mail") for it in the test suite. Signed-off-by: Wincent Colaiuta <win@wincent.com> | |||||
* | Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵ | José Valim | 2010-06-24 | 1 | -0/+1 | |
| | | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved] | |||||
* | Changes call backs to callbacks. | Rizwan Reza | 2010-06-15 | 1 | -1/+1 | |
| | ||||||
* | Fix a bunch of minor spelling mistakes | Evgeniy Dolzhenko | 2010-06-15 | 1 | -1/+1 | |
|\ | ||||||
| * | Fix a bunch of minor spelling mistakes | Evgeniy Dolzhenko | 2010-06-11 | 1 | -4/+4 | |
| | | ||||||
* | | edit pass: the names of Rails components have a space, ie, "Active Record", ↵ | Xavier Noria | 2010-06-14 | 1 | -2/+2 | |
| | | | | | | | | not "ActiveRecord" | |||||
* | | docfix (email instead of emai) | David Chelimsky | 2010-06-13 | 1 | -3/+3 | |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | subject is automatically looked up on I18n using mailer_name and action_name ↵ | José Valim | 2010-06-12 | 1 | -1/+1 | |
|/ | | | | as scope as in t('.subject') | |||||
* | Updating readme for ActionMailer::Base | Mikel Lindsaar | 2010-06-07 | 1 | -1/+32 | |
| | ||||||
* | Adding inline attachment support to ActionMailer | Mikel Lindsaar | 2010-06-07 | 1 | -1/+5 | |
| | ||||||
* | Extract assets paths and make them available to Action Mailer as well | David Heinemeier Hansson | 2010-06-03 | 1 | -0/+1 | |
| | ||||||
* | Added missing require, we are using bind method defined on ↵ | Santiago Pastorino | 2010-05-16 | 1 | -0/+1 | |
| | | | | | | | | active_support/core_ext/proc [#4610 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Remove the need for a special action_mailer.url_for initializer that loads ↵ | wycats | 2010-05-15 | 1 | -62/+84 | |
| | | | | before anything else | |||||
* | Cleaning up Action Mailer spelling with and without the space | Mikel Lindsaar | 2010-05-04 | 1 | -6/+6 | |
| | ||||||
* | Adding more docs to ActionMailer | Mikel Lindsaar | 2010-05-04 | 1 | -12/+50 | |
| | ||||||
* | Change event namespace ordering to most-significant first [#4504 state:resolved] | Justin George | 2010-05-02 | 1 | -2/+2 | |
| | | | | | | | | | 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> | |||||
* | Adding ability for the procs to be called within the instance, allows you to ↵ | Mikel Lindsaar | 2010-05-02 | 1 | -1/+1 | |
| | | | | | | pass results from instance methods to the mail header Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Adding ability to pass proc's to the ActionMailer class default method | Mikel Lindsaar | 2010-05-02 | 1 | -1/+6 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Only run load hooks once a file has been fully loaded. | Nathan Weizenbaum | 2010-04-27 | 1 | -2/+1 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | template_name and template_path should not be added to mail headers. | José Valim | 2010-04-13 | 1 | -1/+1 | |
| | ||||||
* | Fix ActionMailer test broken in 99d54599215c2a8cea7e57f609e8e578043d71b2 | José Valim | 2010-04-12 | 1 | -0/+5 | |
| | ||||||
* | Move set_fields! to the old API module. | José Valim | 2010-04-12 | 1 | -27/+16 | |
| | ||||||
* | Added explict setting of charset in set_fields! method to make sure Mail has ↵ | Mikel Lindsaar | 2010-04-11 | 1 | -0/+1 | |
| | | | | the user defined default | |||||
* | Removing quoting.rb, upgrade to 2.1.3.6, changing all utf-8 references to ↵ | Mikel Lindsaar | 2010-04-11 | 1 | -12/+11 | |
| | | | | UTF-8, updating tests where incorrect encoding | |||||
* | Replace the placeholder base_hook API with on_load. To specify some code that | wycats | 2010-03-29 | 1 | -1/+1 | |
| | | | | | | | | should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end | |||||
* | adds missing requires for Object#blank? and Object#present? | Xavier Noria | 2010-03-28 | 1 | -0/+1 | |
| | ||||||
* | Ensure details are frozen after @details_keys lookup. The implementation ↵ | José Valim | 2010-03-27 | 1 | -1/+1 | |
| | | | | waits to freeze until the last required moment, to avoid duping hashes. | |||||
* | Improve performance of the rendering stack by freezing formats as a sign ↵ | José Valim | 2010-03-19 | 1 | -0/+2 | |
| | | | | that they shouldn't be further modified. | |||||
* | Use Array.wrap not Array() | Jeremy Kemper | 2010-03-17 | 1 | -1/+2 | |
| | ||||||
* | Allow anything that responds to render to be given as :template and use ↵ | José Valim | 2010-03-12 | 1 | -1/+1 | |
| | | | | find_template instead of find in views. | |||||
* | Clean up the API required from ActionView::Template. | José Valim | 2010-03-09 | 1 | -1/+1 | |
| | ||||||
* | Merge master. | José Valim | 2010-03-08 | 1 | -0/+2 | |
|\ | ||||||
| * | Make many parts of Rails lazy. In order to facilitate this, | wycats | 2010-03-07 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | | Bring AM up to date with new rendering stack. | José Valim | 2010-03-08 | 1 | -7/+5 | |
| | | ||||||
* | | Move layout lookup to views. | José Valim | 2010-03-08 | 1 | -1/+0 | |
| | | ||||||
* | | Added template lookup responsible to hold all information used in template ↵ | José Valim | 2010-03-07 | 1 | -1/+0 | |
|/ | | | | lookup. | |||||
* | Renamed LocalizedCache to DetailsCache. | José Valim | 2010-02-24 | 1 | -1/+1 | |
| | ||||||
* | Use render instead render_to_body. | José Valim | 2010-02-24 | 1 | -1/+1 | |
| | ||||||
* | Adding options to register observers and interceptors through ↵ | Mikel Lindsaar | 2010-02-22 | 1 | -0/+15 | |
| | | | | | | ActionMailer::Base.register_observer and ActionMailer::Base.register_interceptor. These hook into Mail.register_interceptor and Mail.register_observer. Also bumped Mail requirement to 2.1.3 Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Allow to choose the template path and template name used in implicit ↵ | José Valim | 2010-02-19 | 1 | -25/+45 | |
| | | | | rendering with ActionMailer. | |||||
* | fix usage examples and more to use new invocations | RomD | 2010-02-06 | 1 | -1/+1 | |
| | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> | |||||
* | Convert to class_attribute | Jeremy Kemper | 2010-02-01 | 1 | -5/+5 | |
| | ||||||
* | Updating Action Mailer documentation | Mikel Lindsaar | 2010-01-31 | 1 | -44/+54 | |
| | ||||||
* | Fix some backward incompatible behavior on AM. | José Valim | 2010-01-30 | 1 | -0/+1 | |
| | ||||||
* | ActionMailer should depend just on AbstractController. | José Valim | 2010-01-29 | 1 | -6/+0 | |
| | ||||||
* | Rename 'defaults' class method to 'default' to reflect that it's a declaration | Jeremy Kemper | 2010-01-27 | 1 | -14/+14 | |
| | ||||||
* | Fixed bug on HTML only emails getting set to text/plain | Mikel Lindsaar | 2010-01-28 | 1 | -1/+1 | |
| |