Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Some readme fixes as required. | Arun Agrawal | 2011-05-10 | 5 | -7/+7 |
| | |||||
* | Merge pull request #487 from vijaydev/patch-3 | Xavier Noria | 2011-05-10 | 1 | -2/+2 |
|\ | | | | | s/javascript/JavaScript | ||||
| * | s/javascript/JavaScript | Vijay Dev | 2011-05-10 | 1 | -2/+2 |
|/ | |||||
* | Fix previous commit by allowing a proc to be given as response_body. This is ↵ | José Valim | 2011-05-10 | 3 | -34/+57 |
| | | | | deprecated and is going to be removed in future releases. | ||||
* | Merge pull request #446 from danielstutzman/response_body_is_proc | José Valim | 2011-05-10 | 1 | -0/+38 |
|\ | | | | | New test: setting response_body to a Proc should be supported. | ||||
| * | New test: setting response_body to a Proc should be supported. | Daniel Stutzman | 2011-05-07 | 1 | -0/+38 |
| | | |||||
* | | Merge pull request #484 from slainer68/master | José Valim | 2011-05-10 | 2 | -0/+8 |
|\ \ | | | | | | | Puts ActiveRecord::SessionStore attributes in white list, fixes #483 | ||||
| * | | Puts ActiveRecord::SessionStore attributes in white list, fixes #483 | slainer68 | 2011-05-10 | 2 | -0/+8 |
|/ / | |||||
* | | Merge pull request #482 from vijaydev/patch-2 | José Valim | 2011-05-10 | 1 | -2/+2 |
|\ \ | | | | | | | Fix typos in IM documentation | ||||
| * | | Fix typos in IM documentation | Vijay Dev | 2011-05-10 | 1 | -2/+2 |
|/ / | |||||
* | | Document identity map inconsistency with associations, closes #474. | José Valim | 2011-05-10 | 1 | -1/+28 |
| | | |||||
* | | Fix #480. Passing nil to create association works. | José Valim | 2011-05-10 | 1 | -1/+1 |
| | | |||||
* | | Revert "b9ea751d0e56bd00d341766977a607ed3f7ddd0f". | José Valim | 2011-05-10 | 1 | -26/+27 |
| | | | | | | | | | | Wrapping each Record.associations.build in a transaction is going to make several unneeded queries. Reverting this commit also fixes #479. | ||||
* | | Add failing tests according to #479. | José Valim | 2011-05-10 | 1 | -0/+15 |
| | | |||||
* | | Add failing tests, according to #480. | José Valim | 2011-05-10 | 1 | -0/+14 |
| | | |||||
* | | Ensure assign_attributes and update_attributes do not fail on nil, closes #478. | José Valim | 2011-05-10 | 3 | -0/+10 |
| | | |||||
* | | Add tests for content_for() for read, closes #475. | José Valim | 2011-05-10 | 2 | -6/+18 |
| | | |||||
* | | Update copyright year in Active Resource and Active Support | Vijay Dev | 2011-05-09 | 2 | -2/+2 |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | | Disable identity map by default. Detailed documentation will be pushed later. | José Valim | 2011-05-10 | 1 | -5/+0 |
| | | |||||
* | | use a null byte as a bind parameter substitute as it is not allowed in ↵ | Aaron Patterson | 2011-05-09 | 3 | -12/+59 |
| | | | | | | | | normal SQL. fixes #411, #417 | ||||
* | | Merge pull request #471 from joshk/remove_as_concern | José Valim | 2011-05-09 | 1 | -2/+1 |
|\ \ | | | | | | | Removed an unneed AS::Concern from AR::IdentityMap | ||||
| * | | removed an unneed AS::Concern from AR::IdentityMap | Josh Kalderimis | 2011-05-09 | 1 | -2/+1 |
|/ / | |||||
* | | Merge pull request #461 from chrislwade/sorted-migrations | José Valim | 2011-05-09 | 1 | -6/+6 |
|\ \ | | | | | | | Sorted migrations | ||||
| * | | Interleave db_list and file_list. | Christopher Wade | 2011-05-09 | 1 | -6/+6 |
| | | | |||||
| * | | Sort migrations by the migration ID. | Christopher Wade | 2011-05-09 | 1 | -2/+2 |
| | | | |||||
* | | | Warn if we cannot verify CSRF token authenticity | José Valim | 2011-05-09 | 2 | -1/+6 |
| | | | |||||
* | | | Fix failing test. | José Valim | 2011-05-09 | 1 | -1/+1 |
| | | | |||||
* | | | xml_mini.rb:_dasherize() replacement 20 to 25% faster | Mike Howard | 2011-05-09 | 1 | -4/+3 |
| | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | | Oops, missing autoload, closes #466 | José Valim | 2011-05-09 | 1 | -0/+1 |
| | | | |||||
* | | | Merge pull request #460 from guilleiguaran/patch-1 | José Valim | 2011-05-09 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Just a minor fix in A.S CHANGELOG | ||||
| * | | | Just a minor fix in A.S CHANGELOG | Guillermo Iguaran | 2011-05-08 | 1 | -1/+1 |
| |/ / | |||||
* | | | Optimize the most common resolver case. | José Valim | 2011-05-09 | 3 | -15/+28 |
| | | | |||||
* | | | No need for replace. | José Valim | 2011-05-09 | 1 | -12/+11 |
|/ / | |||||
* | | Merge pull request #451 from baroquebobcat/fixing_last_for_issue_371 | Jon Leighton | 2011-05-08 | 2 | -1/+27 |
|\ \ | |||||
| * | | Fix for #371 | Nick Howard | 2011-05-08 | 2 | -1/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if a query contains a limit or an offset, ActiveRecord::FinderMethods#find_last had inconsistent behavior. If the records were loaded, it returned the last record in the cached list. If they were not, it reversed the order of the query and changed the limit to one. If the earlier limit was less than the total matching the query in the db, it would return a different record than if the records had been cached. This commit changes find_last so that it loads the records when getting the last record on a query containing a limit or an offset, which makes the behavior consistent. | ||||
* | | | Ensure that ORDER BY clauses from default scopes are not included in ↵ | Jon Leighton | 2011-05-08 | 2 | -1/+5 |
| | | | | | | | | | | | | calculation queries. Fixes #406. | ||||
* | | | Merge pull request #457 from vijaydev/master | José Valim | 2011-05-08 | 1 | -1/+3 |
|\ \ \ | | | | | | | | | Adds examples in code for ordinalizing negative numbers | ||||
| * | | | adds code examples for negative ordinalize | Vijay Dev | 2011-05-08 | 1 | -1/+3 |
|/ / / | |||||
* | | | Merge pull request #332 from ↵ | Jon Leighton | 2011-05-08 | 5 | -2/+52 |
|\ \ \ | | | | | | | | | | | | | cmeiklejohn/bug6230_optimistic_locking_double_quoted | ||||
| * | | | Don't quote ID's as Arel will quote them -- follow same conventions as the ↵ | Christopher Meiklejohn | 2011-05-08 | 5 | -2/+52 |
|/ / / | | | | | | | | | | delete method. | ||||
* | | | Merge pull request #445 from prakashmurthy/lighthouse_6334 | Aaron Patterson | 2011-05-08 | 1 | -0/+10 |
|\ \ \ | | | | | | | | | Fix for Lighthouse ticket # 6334 : to_xml should render valid xml or raise an error all the time | ||||
| * | | | Lighthouse ticket # 6334; added tests to verify that spaces in key are ↵ | prakashmurthy | 2011-05-08 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | dasherized. | ||||
* | | | | Merge pull request #455 from joshk/mass_assignment_roles | José Valim | 2011-05-08 | 6 | -64/+64 |
|\ \ \ \ | | | | | | | | | | | Renamed mass-assignment scopes to roles | ||||
| * | | | | renamed mass-assignment scopes to roles, updated code, tests, docs and ↵ | Josh Kalderimis | 2011-05-08 | 6 | -64/+64 |
|/ / / / | | | | | | | | | | | | | security guide | ||||
* | | | | Merge pull request #388 from smartinez87/remove_method | José Valim | 2011-05-08 | 1 | -2/+3 |
|\ \ \ \ | |/ / / |/| | | | Better use #remove_possible_method here | ||||
| * | | | Better use #remove_possible_method here | Sebastian Martinez | 2011-05-08 | 1 | -2/+3 |
| | | | | |||||
* | | | | prepend the assets route instead of appending, closes #436 | José Valim | 2011-05-08 | 5 | -8/+37 |
| | | | | |||||
* | | | | Merge pull request #454 from dlee/nested_indifferent_access | José Valim | 2011-05-08 | 5 | -5/+35 |
|\ \ \ \ | | | | | | | | | | | indifferent access should recurse Hash subclasses | ||||
| * | | | | indifferent access should recurse Hash subclasses | David Lee | 2011-05-08 | 5 | -5/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes Hash subclasses convert to HWIA by default for nested objects of subclasses of Hash, but allows certain subclasses to prevent nested conversion by introducing Hash#nested_under_indifferent_access that subclasses can overwrite. ActiveSupport::OrderedHash is one such subclass that overwrites +nested_under_indifferent_access+, since implicitly converting it to HWIA would remove the ordering of keys and values in Ruby 1.8. This change is necessary because commit ce9456e broke nested indifferent access conversion for all subclasses of Hash. | ||||
* | | | | | Revert to use === only here because of perf. :( | José Valim | 2011-05-08 | 1 | -3/+1 |
| | | | | |