aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote branch 'docrails/master'Xavier Noria2010-07-134-12/+46
|\
| * Fixed many references to the old config/environment.rb and Rails::InitializerBenjamin Quorning2010-07-131-2/+2
| |
| * Merge branch 'master' of github.com:lifo/docrailsJaime Iniesta2010-07-122-2/+2
| |\
| | * Removed deprecated |map| block argument from routing docs since it is no ↵Steven Hancock2010-07-112-2/+2
| | | | | | | | | | | | | | | | | | longer generated in edge Rails config/routes.rb Didn't touch plugins guide since I'm not too clear on how routes work in plugins.
| * | Getting started guide: typos and changelogJaime Iniesta2010-07-121-1/+2
| | |
| * | Getting started guide: Post validation example is clearer if we do ↵Jaime Iniesta2010-07-111-1/+1
| | | | | | | | | | | | p=Post.new;p.save better than p=Post.create;p.save
| * | Getting started guide: rephrase the paragraph about the root route for ↵Jaime Iniesta2010-07-111-5/+4
| |/ | | | | | | better understanding
| * missing article, only seen in github's colored diff by the beard of the prophetXavier Noria2010-07-101-1/+1
| |
| * revises recent commit related to :uniq => trueXavier Noria2010-07-101-28/+22
| |
| * expanding on :uniq option in has_manyNeeraj Singh2010-07-091-1/+41
| |
* | Just add connection management middleware if running in a concurrent ↵José Valim2010-07-122-2/+11
|/ | | | environment.
* Merge remote branch 'docrails/master'Xavier Noria2010-07-096-76/+105
|\
| * Minor typos: 'built-in' instead of 'built in', 'built into' instead of ↵Jaime Iniesta2010-07-094-4/+4
| | | | | | | | 'built in to'
| * Describe recent changes in Multibyte::Chars.Norman Clarke2010-07-081-56/+81
| |
| * copy-edits some docsXavier Noria2010-07-081-16/+20
| |
* | application.rb: revises the comment for autoload_paths so that is assumes ↵Xavier Noria2010-07-091-3/+3
| | | | | | | | less from the user, and unifies punctuation
* | Allow a PID file to be specified to rails server [#5031 state:resolved]Sudara2010-07-081-0/+3
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Print proper "Usage:" messages for "rails plugin" commandAkira Matsuda2010-07-071-2/+10
| | | | | | | | | | | | | | | | | | * suppress outputting "Unknown command:" when no command were specified * output the "Usage:" message when no plugin names were given [#5043 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | whitespaceAkira Matsuda2010-07-071-50/+47
|/ | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Merge remote branch 'docrails/master'Xavier Noria2010-07-077-21/+29
|\
| * Add note about incompatibility of namespace and :controllerAndrew White2010-07-071-0/+6
| |
| * Fixed minor typo app/view to app/viewsl4u2010-07-061-1/+1
| |
| * Fixed typo in Rails::Generators::Base [#5051 state:resolved]Mark Hayes2010-07-061-1/+1
| |
| * Reword routing guide so that we talk about prefixing as a use of :as rather ↵Andrew White2010-07-041-3/+3
| | | | | | | | than as a specific prefixing option (which :name_prefix used to be).
| * Added release notes for 3 changes to helpersJeff Dean2010-07-041-1/+3
| |
| * Updated routing guide to reflect the fact that :name_prefix is now :asAndrew White2010-07-031-7/+7
| |
| * :singular is no longer a valid option for resources [#5037 state:resolved]Andrew White2010-07-031-4/+4
| |
| * Changed passed argument to :validate => false in validation skipping section.Uģis Ozols2010-07-031-2/+2
| |
| * Fixes README for generated apps with Rails 3 (rails *new* myapp, and Welcome ↵Jaime Iniesta2010-07-012-3/+3
| | | | | | | | aboard text)
* | Add a test to ensure url helpers are not action methods in ActionMailer.José Valim2010-07-071-0/+19
| |
* | documents automatic management of join models in hmt associations, in ↵Xavier Noria2010-07-061-0/+10
| | | | | | | | particular the gotcha that deletion is direct
* | Define a convention for descendants and subclasses.José Valim2010-07-051-52/+29
| | | | | | | | | | | | The former should be symmetric with ancestors and include all children. However, it should not include self since ancestors + descendants should not have duplicated. The latter is symmetric to superclass in the sense it only includes direct children. By adopting a convention, we expect to have less conflict with other frameworks, as Datamapper. For this moment, to ensure ActiveModel::Validations can be used with Datamapper, we should always call ActiveSupport::DescendantsTracker.descendants(self) internally instead of self.descendants avoiding conflicts.
* | ARGV.empty? is useless. If ARGV is empty, ARGV.first != "new" will always be ↵Madjo DIAPENA2010-07-041-1/+1
| | | | | | | | | | | | true Signed-off-by: José Valim <jose.valim@gmail.com>
* | Fix indentJeremy Kemper2010-07-021-1/+1
| |
* | reload_routes! was still referencing old Rails::Application.José Valim2010-07-021-6/+5
| |
* | bump erubis version to 2.6.6 and thor version to 0.13.7Santiago Pastorino2010-07-022-3/+3
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Bump bundler dependency to 1.0.0.beta.2 or laterJeremy Kemper2010-07-011-1/+1
| |
* | Avoid calls to Rails::Application since this is not the official API.José Valim2010-07-0114-72/+48
|/ | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
* Change :notification to :notify (ht: m4n)José Valim2010-06-291-1/+1
|
* Create a deprecation behavior that triggers a notification for deprecation ↵wycats2010-06-295-1/+12
| | | | | | | | | | | | | | | | | notices, and make the behaviors independent of the environment names. * In Rails 2.3 apps being upgraded, you will need to add the deprecation configuration to each of your environments. Failing to do so will result in the same behavior as Rails 2.3, but with an outputted warning to provide information on how to set up the setting. * New Rails 3 applications generate the setting * The notification style will send deprecation notices using ActiveSupport::Notifications. Third-party tools can listen in to these notifications to provide a streamlined view of the deprecation notices occurring in your app. * The payload in the notification is the deprecation warning itself as well as the callstack from the point that triggered the notification.
* Push a failing test for issues [#4994] and [#5003].José Valim2010-06-291-1/+14
|
* Make the sentinel flag for route a bit more robust.José Valim2010-06-281-1/+1
|
* Do not trigger the old mapper to avoid deprecation messages.José Valim2010-06-281-1/+1
|
* Update CHANGELOGs.José Valim2010-06-281-0/+4
|
* Update to latest rails.jsJeremy Kemper2010-06-271-57/+114
| | | | [#4411 state:resolved]
* A few changes were done in this commit:José Valim2010-06-2810-119/+119
| | | | | | * Added :autoload to engines path API and redefine usage to be in sync with 6f83a5036d8a9c3f8ed7; * Do not autoload code in *lib* for applications (now you need to explicitly require them). This makes an application behave closer to an engine (code in lib is still autoloaded for plugins); * Always autoload code in app/ for engines and plugins. This makes engines behave closer to an application and should allow us to get rid of the unloadable hack required when controllers inside engines inherit from ApplicationController;
* Merge remote branch 'rails/master'Xavier Noria2010-06-2849-740/+324
|\
| * Change the generated Gemfile to resolve, via documentation, the issue of ↵wycats2010-06-251-3/+4
| | | | | | | | rspec generators being unavailable in development mode
| * Dont reload the environment, just not needed broDavid Heinemeier Hansson2010-06-241-2/+0
| |
| * adding missing assertion and fixing the testNeeraj Singh2010-06-241-2/+4
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>