aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* standarizes the use of the article "an" for "SQL" and "SQLite"Xavier Noria2010-08-051-1/+1
|
* Fixed Railtie Rdoc examples not properly formatted [#4918 state:resolved]Simone Carletti2010-08-041-21/+21
| | | | Signed-off-by: Simone Carletti <weppos@weppos.net>
* Handle edge cases in the previous patch.José Valim2010-08-021-1/+2
|
* Improved how AppGenerator generates the application name. It now detects the ↵Fred Wu2010-08-021-1/+5
| | | | | | | | current app name whenever possible. This means that renaming the residing directory will not effect the app name generated by AppGenerator. [#5225 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Makes rails destroy scaffold don't duplicate routes.draw do |map| |map| when ↵Santiago Pastorino2010-08-021-1/+1
| | | | | | using the deprecated syntax [#5263 state:committed]
* Corrected the rake test:units and test:functionals description [#5251 ↵Prashant P. Shah2010-08-011-1/+1
| | | | | | state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* DHH forgot to remove JS, CSS in generated index.html [#5261 state:resolved]Johan Lundström2010-07-311-23/+0
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* the main page of the API generated by the doc:rails task is READMEXavier Noria2010-07-301-1/+1
|
* fix for rails app generator when using --pretend optionSteve Agalloco2010-07-301-1/+1
| | | | | | [#5245 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* This version is going to be outdated when new nokogiri versions are releasedSantiago Pastorino2010-07-291-1/+1
|
* edit pass to apply API guideline wrt the use of "# =>" in example codeXavier Noria2010-07-302-4/+4
|
* Add a header that tells Internet Explorer (all versions) to use the best ↵wycats2010-07-273-2/+3
| | | | | | available standards support. This ensures that IE doesn't go into quirks mode because it has been blacklisted by too many users pressing the incompatible button. It also tells IE to use the ChromeFrame renderer, if the user has installed the plugin. This guarantees that the best available standards support will be used on the client.
* Fix app generator so that it uses the right app_name during rails:update ↵rohit2010-07-271-1/+1
| | | | | | rake task. [#5207 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
* fix bad logic in determining if in rails app subdirChad Fowler2010-07-261-1/+2
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Fix deprecation message on info screenDavid Heinemeier Hansson2010-07-261-1/+1
|
* Prep for RCDavid Heinemeier Hansson2010-07-261-1/+1
|
* Fixes usage message when running rails without --dev on a cloned rails repoSantiago Pastorino2010-07-261-1/+1
|
* Merge remote branch 'docrails/master'Xavier Noria2010-07-261-1/+1
|\
| * Fix small middlewares typoJack Dempsey2010-07-241-1/+1
| |
* | Object#returning removedSantiago Pastorino2010-07-251-1/+0
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | application generation: --skip-testunit and --skip-activerecord renamed to ↵Xavier Noria2010-07-254-14/+14
|/ | | | | | | | --skip-test-unit and --skip-active-record respectively Reason is their proper spellings are "Test::Unit" and "Active Record". Option names and descriptions have been revised, as well as some method names and minor details here and there.
* Change some missing README -> README.rdocSantiago Pastorino2010-07-221-8/+8
|
* Make config.generators accept string namespaces, you can do now ↵Santiago Pastorino2010-07-211-0/+1
| | | | | | config.generators.test_framework 'rspec' for instance Signed-off-by: José Valim <jose.valim@gmail.com>
* We are doing the same in this conditionsSantiago Pastorino2010-07-211-3/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* This example is better for guides and gem/plugins docsSantiago Pastorino2010-07-201-7/+0
|
* Add console hook to force ActiveRecord::Base to be loaded when console ↵José Valim2010-07-183-12/+24
| | | | starts avoiding reference loops.
* Add skip_eager_load!, skip_autoload! and friends to path objects.José Valim2010-07-171-28/+12
|
* minor pass to generated code in application.rb related to :defaultsXavier Noria2010-07-161-3/+3
|
* Adds application.js when app is generated with -J and clear ↵Santiago Pastorino2010-07-172-0/+5
| | | | javascript_expansions[:defaults]
* Explain how to change javascript default filesSantiago Pastorino2010-07-171-0/+3
|
* upgrade prototype to be compatible with rails.js [#5109 state:committed]Andrew Kaspick2010-07-141-890/+2017
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* Fixed many references to the old config/environment.rb and Rails::InitializerBenjamin Quorning2010-07-131-2/+2
|
* 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-072-2/+2
|\
| * Fixed typo in Rails::Generators::Base [#5051 state:resolved]Mark Hayes2010-07-061-1/+1
| |
| * Fixes README for generated apps with Rails 3 (rails *new* myapp, and Welcome ↵Jaime Iniesta2010-07-011-1/+1
| | | | | | | | aboard text)
* | 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>
* | reload_routes! was still referencing old Rails::Application.José Valim2010-07-021-6/+5
| |
* | Avoid calls to Rails::Application since this is not the official API.José Valim2010-07-019-21/+17
|/ | | | 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-293-0/+9
| | | | | | | | | | | | | | | | | 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.
* 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 to latest rails.jsJeremy Kemper2010-06-271-57/+114
| | | | [#4411 state:resolved]
* A few changes were done in this commit:José Valim2010-06-286-47/+56
| | | | | | * 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;
* 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
|