aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Adding the initialization guide to docrails.Ryan Bigg2010-03-281-0/+3095
|
* Routes guide being rewritten, done till :singular.Rizwan Reza2010-03-251-16/+14
|
* Fixing spelling error in activerecord guide in the validation callbacks ↵Brian Doll2010-03-241-1/+1
| | | | section, closing issue #2
* AS guide: documents Module#remove_possible_methodXavier Noria2010-03-231-0/+19
|
* normalizes titles of release notes guides, and adds them to the home pageXavier Noria2010-03-193-1/+22
|
* s/guides.rails.info/edgeguides.rubyonrails.org/ in a few places, and makes ↵Xavier Noria2010-03-196-7/+7
| | | | some links relative to work in either site
* guides generator skips untouched guides by default, override with ALL=1Xavier Noria2010-03-171-7/+15
|
* AS guide: completes section about loading AS core extensions within a Rails ↵Xavier Noria2010-03-161-4/+10
| | | | application
* AS guide: adds extension to file nameXavier Noria2010-03-161-1/+1
|
* guides generation: undoes output buffer workaround, more refactorsXavier Noria2010-03-152-23/+17
|
* Merge remote branch 'mainstream/master'Pratik Naik2010-03-156-10/+44
|\
| * In app_generator, fix hardcoded `bundle` call to derive the bundle ↵Caio Chassot2010-03-122-3/+5
| | | | | | | | | | | | | | | | executable name from Thor::Util.ruby_command. This ensures that eg. when `rails` is called from `ruby1.9`, `bundle1.9` is called. Signed-off-by: José Valim <jose.valim@gmail.com>
| * Add a check to ensure that the application name does not already exist, i.e. ↵Kieran Pilkington2010-03-122-0/+9
| | | | | | | | | | | | String or Module are part of ruby [#3872 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Prettify generators description whenever using the default stack [#4143 ↵José Valim2010-03-122-2/+20
| | | | | | | | status:resolved]
| * Load the environment before executing rails console. [#3905 status:resolved]José Valim2010-03-121-1/+1
| |
| * Revert "Always load the environment before executing any command. [#3905 ↵José Valim2010-03-122-6/+11
| | | | | | | | | | | | status:resolved]" This reverts commit 16846553b8866eab2aa3b128a2a23a221a25f7e3.
* | AS guide: documents a use case for :instance_writer, based on a remark of JeremyXavier Noria2010-03-151-0/+2
| |
* | refactors some bits of the guides generator, ONLY selection accepts ↵Xavier Noria2010-03-151-39/+51
| | | | | | | | prefixes, guides generation fixed for 1.9, revised string safety in a few spots
* | Merge remote branch 'mainstream/master'Pratik Naik2010-03-1266-487/+833
|\| | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb railties/lib/rails/configuration.rb railties/lib/rails/log_subscriber.rb
| * Always load the environment before executing any command. [#3905 ↵José Valim2010-03-122-11/+6
| | | | | | | | status:resolved]
| * Revert "Rake task for generating Rails documentation updated to support ↵Jeremy Kemper2010-03-111-33/+41
| | | | | | | | | | | | | | | | Bundler." Incredibly slow. Fix gem_path to not load the bundle fresh each call. This reverts commit 58796dcfc0d74fa3def752fa8b779f725f0747f0.
| * Rake task for generating Rails documentation updated to support Bundler.Rizwan Reza2010-03-111-41/+33
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Update scaffold to use <%= form_forJeremy Kemper2010-03-101-1/+1
| |
| * Added alert to layouts on scaffold.José Valim2010-03-092-0/+5
| |
| * Move middlewares to the Application level. If you want to modify the ↵Carlhuda2010-03-082-4/+4
| | | | | | | | middleware, either use Rails.application.config.middleware or modify it in an initializer (if you need to set it relative to user-specified middleware).
| * Aliasing class_eval makes JRuby ornery.wycats2010-03-071-1/+4
| |
| * Update generated Gemfile to use http://rubygems.org, unicorn instead of ↵Jeremy Kemper2010-03-071-4/+4
| | | | | | | | mongrel, and nokogiri instead of hpricot
| * If RAILS_PATH isn't set, make a dummy doc taskJeremy Kemper2010-03-071-32/+40
| |
| * rake doc:rails complains loudly if there's no path to generate docs fromJeremy Kemper2010-03-071-1/+3
| |
| * Make many parts of Rails lazy. In order to facilitate this,wycats2010-03-073-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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
| * Load RAILS_VERSION relative to the gemspec file.Stefan Penner2010-03-061-1/+1
| |
| * Add mailers to paths in case someone wants to access it directly and ensures ↵José Valim2010-03-064-10/+14
| | | | | | | | deep nesting works in controllers.
| * Read Rails version from a file instead of modifying the load path and doing ↵Bryan Helmkamp2010-03-041-5/+4
| | | | | | | | | | | | requires Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Change generated code to replace faulty commentCarlhuda2010-03-042-2/+2
| |
| * Deprecated ActionController::Base.session_options= and ↵Carlhuda2010-03-049-17/+47
| | | | | | | | ActionController::Base.session_store= in favor of a config.session_store method (which takes params) and a config.cookie_secret variable, which is used in various secret scenarios. The old AC::Base options will continue to work with deprecation warnings.
| * Fix Sam Ruby's tests and deprecation warningsCarlhuda2010-03-049-13/+13
| |
| * Move session and session_store onto ActionDispatch and add deprecation warningsCarlhuda2010-03-041-2/+2
| |
| * No need for a module if it's only being included once into an empty class.Carl Lerche2010-03-042-95/+91
| |
| * Fix all the broken tests due to the AC configuration refactorCarl Lerche2010-03-034-4/+5
| |
| * Start refactoring the method of configuring ActionViewCarlhuda2010-03-031-0/+3
| |
| * Add caller to request_uri deprecation noticeCarlhuda2010-03-031-1/+1
| |
| * Move remote_ip to a middleware:Carlhuda2010-03-033-2/+57
| | | | | | | | | | * ActionController::Base.ip_spoofing_check deprecated => config.action_dispatch.ip_spoofing_check * ActionController::Base.trusted_proxies deprecated => config.action_dispatch.trusted_proxies
| * Don't rely on Rails.application global state in ConfigCarlhuda2010-03-033-11/+11
| |
| * Revert "In app_generator, fix hardcoded `bundle` call to derive the bundle ↵Carl Lerche2010-03-031-2/+1
| | | | | | | | | | | | | | | | executable name from Thor::Util.ruby_command." This reverts commit 6f4c45199b791ac2c90aa6742f8ffbd62b02ed7b. This breaks the tests. Please investigate.
| * In app_generator, fix hardcoded `bundle` call to derive the bundle ↵Caio Chassot2010-03-031-1/+2
| | | | | | | | | | | | | | | | executable name from Thor::Util.ruby_command. This ensures that eg. when `rails` is called from `ruby1.9`, `bundle1.9` is called. Signed-off-by: José Valim <jose.valim@gmail.com>
| * Better with #abortJoao Carlos2010-03-031-4/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Use non-deprecated Rails.application instead of ↵Teng Siong Ong2010-03-021-2/+2
| | | | | | | | | | | | | | | | ActionController::Dispatcher.new and ActionDispatch::Integration instead of ActionController::Integration for console. [#4072 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Removing prototype and just using vanilla jsMikel Lindsaar2010-03-021-17/+17
| |
| * Get the railties tests to pass again.Carlhuda2010-03-022-3/+3
| |
| * Have log subscribers subscribe to the actual events, so the subscriber ↵Carlhuda2010-03-023-21/+27
| | | | | | | | doesn't subscribe to *every* event, so we can have events that are slow-ish but are not actually run in production.