aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* If IntegrationSession is initialized with an objects that responds to ↵Carlhuda2010-02-266-14/+24
| | | | #routes, automatically extend the URL helpers from the RouteSet onto it
* plugin rails/init.rb deprecation messageJeremy Kemper2010-02-262-15/+17
|
* Upon further reflection, we realized that SharedTestRoutes is not really a ↵Carlhuda2010-02-261-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...Carlhuda2010-02-261-2/+0
|
* Setting UrlFor in with_routing is no longer needed now that it's not globalCarlhuda2010-02-262-7/+5
|
* Including UrlFor in Redirecting and Head will warn usefully if a controller ↵Carlhuda2010-02-262-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 ↵Carlhuda2010-02-263-14/+0
| | | | Rails.application.routes in Rails internal tests
* Stop setting UrlFor using SharedTestHelpersCarlhuda2010-02-262-4/+4
|
* Silence test deprecation warningsCarlhuda2010-02-262-17/+56
|
* Change the API for setting global options for #url_for to self.url_options = ↵Carlhuda2010-02-264-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 optionsCarlhuda2010-02-261-1/+1
|
* Rename named_url_helpers to url_helpers and url_helpers to url_forCarlhuda2010-02-2615-29/+28
|
* no more warning ambiguous first argument; put parentheses or even spaces on ↵Santiago Pastorino2010-02-261-2/+2
| | | | log_subscriber_test
* no more warning interpreted as argument prefix on association_preload.rbSantiago Pastorino2010-02-261-1/+1
|
* no more interpreted as grouped expression warnings on array_ext_testSantiago Pastorino2010-02-261-2/+2
|
* Fix 1.9 issueYehuda Katz2010-02-261-1/+1
|
* CI: restore sudo for bundler gem installJeremy Kemper2010-02-261-1/+1
|
* Remove bin dir from .gitignoreJeremy Kemper2010-02-261-4/+3
|
* reload! on console now works as expected. [#3822 status:resolved]José Valim2010-02-262-4/+30
|
* 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)