aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make @controller an internal ivar in the viewJoshua Peek2010-01-224-19/+17
|
* Relation should respond to class methodsPratik Naik2010-01-222-1/+6
|
* Allow calling class methods on a RelationPratik Naik2010-01-222-0/+11
|
* Use expand_path to require environment in metal templateJoshua Peek2010-01-221-1/+1
|
* Include cascade header in metal templateJoshua Peek2010-01-221-1/+1
|
* lib is already included w/ rake test taskJoshua Peek2010-01-221-2/+0
|
* Remove rdoc task from generated plugin RakefileJoshua Peek2010-01-221-10/+0
|
* Template whitespaceJoshua Peek2010-01-228-8/+7
|
* Revert "Refactoring attributes/types" [#3348 state:open]Pratik Naik2010-01-2225-775/+148
| | | | | | | | | | | | | | | | | This reverts commit f936a1f100e75082081e782e5cceb272885c2df7. Conflicts: activerecord/lib/active_record.rb activerecord/lib/active_record/base.rb Revert "Fixed: #without_typecast should only disable typecasting on the duplicated attributes" [#3387 state:open] This reverts commit 2831996483c6a045f1f38d8030256eb58d9771c3. Reason : It's not generating attribute methods properly, making object.column 5x slower.
* Simplify finder method definitionsPratik Naik2010-01-211-13/+11
|
* Make filter parameters based on request, so they can be modified for ↵José Valim2010-01-2110-104/+115
| | | | anything in the middleware stack.
* Give higher priority to rails generators.José Valim2010-01-214-9/+23
|
* Supplying Arel::SqlLiteral is much fasterPratik Naik2010-01-212-7/+17
|
* Default to sync instrumentation.José Valim2010-01-2121-369/+80
|
* Add shortcut test to abstract/render_test.rbJosé Valim2010-01-211-0/+9
|
* Don't let generators die if rubygems puts crap in your load path.José Valim2010-01-211-1/+3
|
* Tidy up new filter_parameters implementation.José Valim2010-01-2113-125/+150
|
* Add deprecation warning for calling filter_parameter_logging ↵Prem Sichanugrist2010-01-215-78/+22
| | | | | | ActionController::Base, and allow it to be configured in config.filter_parameters Signed-off-by: José Valim <jose.valim@gmail.com>
* Move filter_parameter_logging logic out of the controller and create ↵Prem Sichanugrist2010-01-218-57/+130
| | | | | | ActionDispatch::ParametersFilter to handle parameter filteration instead. This will make filteration not depending on controller anymore. Signed-off-by: José Valim <jose.valim@gmail.com>
* Use quoted_table_name with arel.from() if no from values explicitly ↵Pratik Naik2010-01-211-2/+4
| | | | supplied. Arel seems to be spending a lot of time figuring out the FROM value otherwise.
* Cache quoted_table_namePratik Naik2010-01-211-4/+5
|
* Relation#spawn is basically clone + resetPratik Naik2010-01-211-12/+2
|
* Always use table.* in the finder query unless specifiedPratik Naik2010-01-211-1/+1
|
* Add AD::Route#to_sSam Ruby2010-01-201-0/+6
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Use @limit_value and @offset_value instead of calling arelPratik Naik2010-01-202-5/+5
|
* Move update and update_all to RelationPratik Naik2010-01-202-70/+65
|
* Only send filtered_env for notificationsJoshua Peek2010-01-201-8/+9
|
* Request#filter_parameters and filter_envJoshua Peek2010-01-201-2/+24
|
* Fix AP's AR integration tests warningPratik Naik2010-01-201-1/+1
|
* Base.merge_conditions is no longer neededPratik Naik2010-01-202-16/+2
|
* Expose last controller in rack env["action_controller.instance"]Joshua Peek2010-01-202-32/+7
|
* fixes the failure of config.plugins without :all option tests [#3718 ↵Santiago Pastorino2010-01-201-4/+3
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Move ActionController::Translation to AbstractController::Translation.José Valim2010-01-206-4/+4
|
* Bring normalize behavior to AbstractController::RenderingJosé Valim2010-01-205-39/+37
|
* Dont delegate Relation#update to arelPratik Naik2010-01-203-4/+4
|
* Delegate delete_all to RelationPratik Naik2010-01-202-24/+20
|
* Move destroy to RelationPratik Naik2010-01-202-28/+28
|
* Remove Base.delete as it's same as Relation#deletePratik Naik2010-01-202-25/+21
|
* Delegate exists? to RelationPratik Naik2010-01-202-38/+34
|
* Make Relation#destroy_all handle all the casesPratik Naik2010-01-202-34/+34
|
* Use unscoped instead of with_exclusive_scope for preloadingPratik Naik2010-01-201-14/+13
|
* Move array_of_strings? to RelationPratik Naik2010-01-202-6/+6
|
* Remove stale methods constructing joinsPratik Naik2010-01-201-28/+0
|
* Stop overriding LoadError.new to return a MissingSourceError (and sometimes ↵Yehuda Katz2010-01-196-33/+36
| | | | nil!)
* Revert streaming params parser support.Joshua Peek2010-01-191-3/+3
| | | | | | | | | | AS Xml and Json parsers expect the request body to be a real IO object supporting methods like getc or ungetc which are not specified by the Rack spec and aren't supported by Passenger or the Rewindable input wrapper. We can restore functionality if the AS parsers are rewritten to support Racks subset of supported IO methods.
* Cleanup middleware introspection outputJoshua Peek2010-01-193-5/+3
|
* Scope#find is no longer needed now that Relation#find handles all the casesPratik Naik2010-01-201-12/+0
|
* Delegate all finders to RelationPratik Naik2010-01-204-159/+154
|
* Ignore order for simple calculations to make postgresql happyPratik Naik2010-01-201-1/+2
|
* Mail should log when raise_delivery_methods is false.José Valim2010-01-192-10/+12
|