Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix controller_path returnsing an empty string in Ruby 1.8.7 [#4036 ↵ | José Valim | 2010-02-26 | 7 | -12/+15 |
| | | | | status:resolved] | ||||
* | fixed a 'RecordNotFound' bug when calling 'reload' on a object which doesn't ↵ | Tobias Bielohlawek | 2010-02-26 | 2 | -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 Gemfile | Dr Nic Williams | 2010-02-26 | 1 | -2/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix a bug where default_scope was overriding attributes given on model ↵ | Henry Hsu | 2010-02-26 | 3 | -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 Soares | 2010-02-26 | 2 | -2/+6 |
| | | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Update thor dependency. | José Valim | 2010-02-26 | 1 | -1/+1 |
| | |||||
* | Add autoload to generators modules and fix failing test. | José Valim | 2010-02-26 | 2 | -5/+11 |
| | |||||
* | Add missing require on abstract_controller/collector [#4061 status:resolved] | José Valim | 2010-02-26 | 1 | -0/+2 |
| | |||||
* | Rename metaclass to singleton_class | Carlhuda | 2010-02-25 | 4 | -5/+5 |
| | |||||
* | Get URL helpers working again in integration tests. | Carlhuda | 2010-02-25 | 4 | -41/+37 |
| | |||||
* | Final pass at removing the router from a global constant | Carlhuda | 2010-02-25 | 9 | -12/+72 |
| | |||||
* | Continued effort to deglobalize the router | Carlhuda | 2010-02-25 | 10 | -79/+66 |
| | |||||
* | Get Railties tests passing | Carlhuda | 2010-02-25 | 3 | -2/+5 |
| | |||||
* | Get ActionMailer's tests passing with the non global router | Carlhuda | 2010-02-25 | 1 | -2/+4 |
| | |||||
* | Fix all of AP's tests with the non global router | Carlhuda | 2010-02-25 | 2 | -5/+7 |
| | |||||
* | Merge branch 'master' of github.com:rails/rails | Carlhuda | 2010-02-25 | 1 | -1/+1 |
| | |||||
* | WIP: Remove the global router | Carlhuda | 2010-02-25 | 26 | -263/+342 |
| | |||||
* | Application detection should also allow dots in the path. | José Valim | 2010-02-26 | 1 | -1/+1 |
| | |||||
* | Bump to Bundler 0.9.8. Remark on RubyGems 1.3.6 fix. | Jeremy Kemper | 2010-02-25 | 3 | -5/+4 |
| | |||||
* | Remove doubled period | Jeremy Kemper | 2010-02-25 | 1 | -1/+1 |
| | |||||
* | Update plugin tasks dirs deprecation warning | Jeremy Kemper | 2010-02-25 | 1 | -2/+2 |
| | |||||
* | Bump i18n for new public I18n.normalize_keys | Jeremy Kemper | 2010-02-25 | 2 | -2/+2 |
| | |||||
* | Accept array of attributes as arg also, like 2.3 | Jeremy Kemper | 2010-02-25 | 2 | -11/+17 |
| | |||||
* | metaclass deprecated in 2.3.6 | Jeremy Kemper | 2010-02-25 | 3 | -22/+0 |
| | |||||
* | Fix dangling klass reference | Jeremy Kemper | 2010-02-25 | 1 | -1/+1 |
| | |||||
* | Missed singleton_class | Jeremy Kemper | 2010-02-25 | 1 | -0/+13 |
| | |||||
* | Fix test on 1.8.8. Broken by inherited hook now running before Class.new block. | Jeremy Kemper | 2010-02-25 | 1 | -5/+6 |
| | |||||
* | load_path is expecting a String in the application.rb generator | Thomas R. Koll | 2010-02-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice. | Jeremy Kemper | 2010-02-25 | 14 | -35/+44 |
| | |||||
* | Commented metaprogramming turned out to be noisier not clearer | Jeremy Kemper | 2010-02-25 | 2 | -12/+12 |
| | |||||
* | let the rails command recurse upwards looking for script/rails, and exec ↵ | David Heinemeier Hansson | 2010-02-25 | 1 | -9/+28 |
| | | | | ruby on it for better portability [Xavier Noria] (Closes #4008) | ||||
* | Merge branch 'master' of github.com:rails/rails | David Heinemeier Hansson | 2010-02-25 | 0 | -0/+0 |
|\ | |||||
| * | add time_separator for minutes only if minutes aren't hidden | Santiago Pastorino | 2010-02-24 | 2 | -1/+42 |
| | | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | | add time_separator for minutes only if minutes aren't hidden | Santiago Pastorino | 2010-02-25 | 2 | -1/+42 |
|/ | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Renamed LocalizedCache to DetailsCache. | José Valim | 2010-02-24 | 8 | -57/+60 |
| | |||||
* | Use render instead render_to_body. | José Valim | 2010-02-24 | 2 | -2/+2 |
| | |||||
* | Cleanup render callstack and make render(:json => {}, :status => 401) work ↵ | José Valim | 2010-02-24 | 2 | -23/+24 |
| | | | | again. | ||||
* | Remove ActionController::Base.resources_path_names | Carl Lerche | 2010-02-24 | 3 | -18/+18 |
| | |||||
* | Remove references to ActionDispatch::Routing::Routes in favor of ↵ | Carl Lerche | 2010-02-24 | 5 | -8/+8 |
| | | | | Rails.appication.routes. | ||||
* | Remove the renderer option from the hash. | José Valim | 2010-02-24 | 1 | -1/+1 |
| | |||||
* | Fix render :file => "#{Rails.root}/public/404.html", :status => :not_found. ↵ | Yehuda Katz | 2010-02-23 | 3 | -1/+11 |
| | | | | Closes #8994 | ||||
* | Woops, forgot to actually add active_support/core_ext/file/path.rb | Carlhuda | 2010-02-23 | 3 | -0/+7 |
| | |||||
* | Revert "Fix test load paths for those not using bundler" | Carlhuda | 2010-02-23 | 22 | -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. | Carlhuda | 2010-02-23 | 7 | -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 ↵ | Carlhuda | 2010-02-23 | 1 | -0/+12 |
| | | | | the Rack spec | ||||
* | Fix streaming by having it create a File object, which can be handled by ↵ | Carlhuda | 2010-02-23 | 5 | -18/+22 |
| | | | | Rack servers as appropriate | ||||
* | avoid @lock_value not initialized warning | Santiago Pastorino | 2010-02-22 | 1 | -1/+1 |
| | |||||
* | avoid @transaction_joinable not initialized warning | Santiago Pastorino | 2010-02-22 | 1 | -1/+1 |
| | |||||
* | avoid active not initialized warning | Santiago Pastorino | 2010-02-22 | 1 | -0/+1 |
| | |||||
* | Rename erubis_implementation to erb_implementation. | José Valim | 2010-02-22 | 1 | -3/+3 |
| |