aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix controller_path returnsing an empty string in Ruby 1.8.7 [#4036 ↵José Valim2010-02-267-12/+15
| | | | status:resolved]
* fixed a 'RecordNotFound' bug when calling 'reload' on a object which doesn't ↵Tobias Bielohlawek2010-02-262-1/+7
| | | | | | | | met the default_scope conditions, added test [#3166 status:resolved] The reload method didn't made use of 'with_exclusive_scope' when reloading the object. This lead to a RecordNotFound exception, in case the object doesn't met the default_scope condition (anymore) - which is obviously a bug. This quick fix makes use of with_exclusive_scope in the reload method as well. See test for full example. Signed-off-by: José Valim <jose.valim@gmail.com>
* #add_source: Fixed docco + added required newline to line added to GemfileDr Nic Williams2010-02-261-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix a bug where default_scope was overriding attributes given on model ↵Henry Hsu2010-02-263-1/+16
| | | | | | initialization [#3218 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* the folder public/javascripts should be created by default [#4027 ↵Ramon Soares2010-02-262-2/+6
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Update thor dependency.José Valim2010-02-261-1/+1
|
* Add autoload to generators modules and fix failing test.José Valim2010-02-262-5/+11
|
* Add missing require on abstract_controller/collector [#4061 status:resolved]José Valim2010-02-261-0/+2
|
* Rename metaclass to singleton_classCarlhuda2010-02-254-5/+5
|
* Get URL helpers working again in integration tests.Carlhuda2010-02-254-41/+37
|
* Final pass at removing the router from a global constantCarlhuda2010-02-259-12/+72
|
* Continued effort to deglobalize the routerCarlhuda2010-02-2510-79/+66
|
* Get Railties tests passingCarlhuda2010-02-253-2/+5
|
* Get ActionMailer's tests passing with the non global routerCarlhuda2010-02-251-2/+4
|
* Fix all of AP's tests with the non global routerCarlhuda2010-02-252-5/+7
|
* Merge branch 'master' of github.com:rails/railsCarlhuda2010-02-251-1/+1
|
* WIP: Remove the global routerCarlhuda2010-02-2526-263/+342
|
* Application detection should also allow dots in the path.José Valim2010-02-261-1/+1
|
* Bump to Bundler 0.9.8. Remark on RubyGems 1.3.6 fix.Jeremy Kemper2010-02-253-5/+4
|
* Remove doubled periodJeremy Kemper2010-02-251-1/+1
|
* Update plugin tasks dirs deprecation warningJeremy Kemper2010-02-251-2/+2
|
* Bump i18n for new public I18n.normalize_keysJeremy Kemper2010-02-252-2/+2
|
* Accept array of attributes as arg also, like 2.3Jeremy Kemper2010-02-252-11/+17
|
* metaclass deprecated in 2.3.6Jeremy Kemper2010-02-253-22/+0
|
* Fix dangling klass referenceJeremy Kemper2010-02-251-1/+1
|
* Missed singleton_classJeremy Kemper2010-02-251-0/+13
|
* Fix test on 1.8.8. Broken by inherited hook now running before Class.new block.Jeremy Kemper2010-02-251-5/+6
|
* load_path is expecting a String in the application.rb generatorThomas R. Koll2010-02-251-1/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.Jeremy Kemper2010-02-2514-35/+44
|
* Commented metaprogramming turned out to be noisier not clearerJeremy Kemper2010-02-252-12/+12
|
* let the rails command recurse upwards looking for script/rails, and exec ↵David Heinemeier Hansson2010-02-251-9/+28
| | | | ruby on it for better portability [Xavier Noria] (Closes #4008)
* Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2010-02-250-0/+0
|\
| * add time_separator for minutes only if minutes aren't hiddenSantiago Pastorino2010-02-242-1/+42
| | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | add time_separator for minutes only if minutes aren't hiddenSantiago Pastorino2010-02-252-1/+42
|/ | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Renamed LocalizedCache to DetailsCache.José Valim2010-02-248-57/+60
|
* Use render instead render_to_body.José Valim2010-02-242-2/+2
|
* Cleanup render callstack and make render(:json => {}, :status => 401) work ↵José Valim2010-02-242-23/+24
| | | | again.
* Remove ActionController::Base.resources_path_namesCarl Lerche2010-02-243-18/+18
|
* Remove references to ActionDispatch::Routing::Routes in favor of ↵Carl Lerche2010-02-245-8/+8
| | | | Rails.appication.routes.
* Remove the renderer option from the hash.José Valim2010-02-241-1/+1
|
* Fix render :file => "#{Rails.root}/public/404.html", :status => :not_found. ↵Yehuda Katz2010-02-233-1/+11
| | | | Closes #8994
* Woops, forgot to actually add active_support/core_ext/file/path.rbCarlhuda2010-02-233-0/+7
|
* Revert "Fix test load paths for those not using bundler"Carlhuda2010-02-2322-93/+50
| | | | | | This reverts commit eec2d301d4ce9df9c71c1a5aa63053eb970b6818. This commit broke tests. You cannot have a file called "bundler" on the load path.
* Makes send_file work again by deferring to Rack::Sendfile. Carlhuda2010-02-237-72/+80
| | | | | | | | | | * Add the Rack::Sendfile middleware * Make the header to use configurable via config.action_dispatch.x_sendfile_header (default to "X-Sendfile"). * Add Railties tests to confirm that these work * Remove the :stream, :buffer_size, and :x_senfile default options to send_file * Change the log subscriber to always say "Sent file" * Add deprecation warnings for options that are now no-ops Note that servers can configure this by setting X-Sendfile-Type. Hosting companies and those creating packages of servers specially designed for Rails applications are encouraged to specify this header so that this can work transparently.
* Make AD::Response correctly handle bodies that respond_to?(:to_path) as per ↵Carlhuda2010-02-231-0/+12
| | | | the Rack spec
* Fix streaming by having it create a File object, which can be handled by ↵Carlhuda2010-02-235-18/+22
| | | | Rack servers as appropriate
* avoid @lock_value not initialized warningSantiago Pastorino2010-02-221-1/+1
|
* avoid @transaction_joinable not initialized warningSantiago Pastorino2010-02-221-1/+1
|
* avoid active not initialized warningSantiago Pastorino2010-02-221-0/+1
|
* Rename erubis_implementation to erb_implementation.José Valim2010-02-221-3/+3
|