Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | If IntegrationSession is initialized with an objects that responds to ↵ | Carlhuda | 2010-02-26 | 6 | -14/+24 |
| | | | | #routes, automatically extend the URL helpers from the RouteSet onto it | ||||
* | plugin rails/init.rb deprecation message | Jeremy Kemper | 2010-02-26 | 2 | -15/+17 |
| | |||||
* | Upon further reflection, we realized that SharedTestRoutes is not really a ↵ | Carlhuda | 2010-02-26 | 1 | -1/+0 |
| | | | | | | | | hack, but is instead a standin (in the Rails tests) for Rails.application.routes. * In a real application, action_controller/railties.rb does AC::Base.include(app.routes.url_helpers) * ActionController itself does not know about Rails.application, but instead can have named routes for any router * SharedTestRoutes are created in abstract_unit to stand in for Rails.application.routes, and is used in internal functional tests | ||||
* | Relatively speaking, it's not actually that bad... | Carlhuda | 2010-02-26 | 1 | -2/+0 |
| | |||||
* | Setting UrlFor in with_routing is no longer needed now that it's not global | Carlhuda | 2010-02-26 | 2 | -7/+5 |
| | |||||
* | Including UrlFor in Redirecting and Head will warn usefully if a controller ↵ | Carlhuda | 2010-02-26 | 2 | -6/+3 |
| | | | | is wired up without a router included (and still support redirect_to "omg") | ||||
* | Remove traces of SharedTestRoutes from user code; leave it as a standin for ↵ | Carlhuda | 2010-02-26 | 3 | -14/+0 |
| | | | | Rails.application.routes in Rails internal tests | ||||
* | Stop setting UrlFor using SharedTestHelpers | Carlhuda | 2010-02-26 | 2 | -4/+4 |
| | |||||
* | Silence test deprecation warnings | Carlhuda | 2010-02-26 | 2 | -17/+56 |
| | |||||
* | Change the API for setting global options for #url_for to self.url_options = ↵ | Carlhuda | 2010-02-26 | 4 | -14/+26 |
| | | | | | | { ... } This attr_accessor can be set in a before filter or in the action itself. Overwriting default_url_options still works but will output a deprecation notice. | ||||
* | Remove the :use_defaults check in UrlFor#merge options | Carlhuda | 2010-02-26 | 1 | -1/+1 |
| | |||||
* | Rename named_url_helpers to url_helpers and url_helpers to url_for | Carlhuda | 2010-02-26 | 15 | -29/+28 |
| | |||||
* | no more warning ambiguous first argument; put parentheses or even spaces on ↵ | Santiago Pastorino | 2010-02-26 | 1 | -2/+2 |
| | | | | log_subscriber_test | ||||
* | no more warning interpreted as argument prefix on association_preload.rb | Santiago Pastorino | 2010-02-26 | 1 | -1/+1 |
| | |||||
* | no more interpreted as grouped expression warnings on array_ext_test | Santiago Pastorino | 2010-02-26 | 1 | -2/+2 |
| | |||||
* | Fix 1.9 issue | Yehuda Katz | 2010-02-26 | 1 | -1/+1 |
| | |||||
* | CI: restore sudo for bundler gem install | Jeremy Kemper | 2010-02-26 | 1 | -1/+1 |
| | |||||
* | Remove bin dir from .gitignore | Jeremy Kemper | 2010-02-26 | 1 | -4/+3 |
| | |||||
* | reload! on console now works as expected. [#3822 status:resolved] | José Valim | 2010-02-26 | 2 | -4/+30 |
| | |||||
* | 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) |