aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* activerecord test load pathsJoshua Peek2010-02-281-0/+3
|
* ensure activemodel lib is setup correctlyJoshua Peek2010-02-281-0/+3
|
* don't expand test pathJoshua Peek2010-02-281-1/+1
|
* add activesupport and activemodel load paths to actionpack testsJoshua Peek2010-02-281-0/+6
|
* fix up actionmailer load pathJoshua Peek2010-02-281-1/+4
|
* fix up activesupport test load pathsJoshua Peek2010-02-281-0/+3
|
* Request#subdomain returns a string version of Request#subdomainsJoshua Peek2010-02-281-0/+4
|
* Remove implicit controller namespacing from new dslJoshua Peek2010-02-287-31/+42
|
* #exit accepts an integer, not a stringJoao Carlos2010-02-281-1/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* ActiveRecord should raise an error on invalid migration types.José Valim2010-02-282-4/+17
|
* Add missing information about attributes method.José Valim2010-02-281-3/+6
|
* ActiveModel::Lint should not require our models to respond to id.José Valim2010-02-281-2/+0
|
* Explain why we're calling an empty callbackYehuda Katz2010-02-271-0/+1
|
* 1.9 doesn't like lambda {} being called with argumentsYehuda Katz2010-02-271-1/+1
|
* Revert "Revert "Application detection should also allow dots in the path.""Jeremy Kemper2010-02-271-1/+1
| | | | | | Works after all. Culprit was 226dfc2. This reverts commit 6189480b1878cdadb092fdfa32ba156a91e6a0e1.
* Revert "Application detection should also allow dots in the path."Jeremy Kemper2010-02-271-1/+1
| | | | | | Ruby 1.9 regression. This reverts commit 76237f163ff7ad2a64af926030e3449c547cafa2.
* Print database.rake errors to stderr.S. Christoffer Eliesen2010-02-271-5/+5
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Escape the file name (who knows when a "(" might appear in a filename!)Yehuda Katz2010-02-271-1/+1
|
* Remove the noisy lines involving AS::Dependencies from the NameError stack ↵Yehuda Katz2010-02-271-0/+3
| | | | trace if a constant cannot be found.
* The instance_reader of default_url_options needs to not exist.Yehuda Katz2010-02-271-0/+1
|
* Remind us that RoutingAssertions should work in an integration contextYehuda Katz2010-02-261-0/+1
|
* 1.9 seems to have a bug involving cloned classes and super. Fix it by not ↵Carlhuda2010-02-261-8/+12
| | | | cloning (and instead creating classes on demand). The 1.9 bug should be investigated.
* Set the body using the accessor for AD::Response introspection mode so it ↵Carlhuda2010-02-261-1/+2
| | | | gets wrapped in a []
* Make ActionController::Routing::Routes a DeprecatedProxyCarlhuda2010-02-262-3/+7
|
* 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
|