Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - check prefix options in collection_path | Gaston Ramos | 2010-09-27 | 2 | -1/+8 | |
| | ||||||
* | - better name for prefix param test case | Gaston Ramos | 2010-09-27 | 1 | -1/+1 | |
| | ||||||
* | - refactoring, move prefix_options check to a custom method | Gaston Ramos | 2010-09-27 | 1 | -5/+9 | |
| | ||||||
* | - elmenth_path raise an ActiveResource::MissingPrefixParam exception when ↵ | Gaston Ramos | 2010-09-27 | 4 | -1/+18 | |
| | | | | | | | prefix_options does not has all required prefix_options ex: class StreetAddress < ActiveResource::Base self.site = "http://37s.sunrise.i:3000/people/:person_id/" end StreetAddress.element_path(1) # => ActiveResource::MissingPrefixParam | |||||
* | Fix active_resource assertions. | José Valim | 2010-09-25 | 1 | -2/+2 | |
| | ||||||
* | Allow per Resource format settings | Jacques Crocker | 2010-09-25 | 5 | -17/+25 | |
| | | | | | | | | | | Previously, ActiveResource was using the connection level formatter for get requests. This made it impossible to use custom formatters per resource. Additionally this commit makes the Connection request methods more consistent. It always returns a Response. The base will then decode it each the response using its format setting. Merging this commit will allow users to add custom formatters on a per Resource basis. This enables handling pagination responses from the server side, a very common use case that was previously impossible without monkeypatching XmlFormat. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Allow ActiveResource to work with non-generated ids [#5660 state:resolved] | Jacques Crocker | 2010-09-25 | 5 | -5/+80 | |
| | | | | | | This commit updates new? so that it knows whether or not the record was actually new or not, and doesn't rely solely on the presence of id. This enables the ability to set a custom primary_key that is not autogenerated by the server. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | resolves rdoc conflict | Xavier Noria | 2010-09-23 | 1 | -1/+1 | |
|\ | ||||||
| * | Tiny fixes to rdoc | Alexey Mahotkin | 2010-09-16 | 1 | -1/+1 | |
| | | ||||||
* | | No need to use inject here. | Emilio Tagua | 2010-09-22 | 1 | -4/+1 | |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | Exception handling more readable | Thiago Pradi | 2010-09-19 | 1 | -2/+2 | |
| | | | | | | | | | | | | [#5601 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | make sure a Content-Length header exists and that the response.body is not ↵ | Mike Abner | 2010-09-18 | 1 | -1/+1 | |
| | | | | | | | | nil before trying to call methods on it. Rack does not allow HTTP 204 responses to have a content-length header set. [#5038 state:resolved] | |||||
* | | test for #5038 | Neeraj Singh | 2010-09-18 | 1 | -0/+8 | |
| | | ||||||
* | | Refactor setup methods by extracting them in abstract_unit, remove TODO. | Emilio Tagua | 2010-09-17 | 4 | -237/+103 | |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | Remove TODO and support all expected attributes. | Emilio Tagua | 2010-09-17 | 2 | -13/+47 | |
|/ | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Remove all deprecation warnings in activeresource | Carlos Antonio da Silva | 2010-09-06 | 2 | -18/+2 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Revert "Setup explicit requires for files with exceptions. Removed them from ↵ | José Valim | 2010-09-02 | 3 | -5/+1 | |
| | | | | | | | | autoloading." Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6. | |||||
* | ActiveModel#to_xml fix (renamed parameter). | Andreas Garnæs | 2010-09-02 | 1 | -0/+6 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Setup explicit requires for files with exceptions. Removed them from ↵ | Łukasz Strzałkowski | 2010-09-02 | 3 | -1/+5 | |
| | | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Adding option to ActiveResource to allow you to not reset the previously ↵ | Mikel Lindsaar | 2010-08-29 | 2 | -3/+79 | |
| | | | | stored requests and responses by passing false to respond_to | |||||
* | Updating documentation on ActiveResource HTTP Mock and also adding test coverage | Mikel Lindsaar | 2010-08-29 | 2 | -3/+65 | |
| | ||||||
* | Update CHANGELOGs for 3.0 release and upcoming 3.1 | Jeremy Kemper | 2010-08-29 | 1 | -20/+2 | |
| | ||||||
* | Clean up CHANGELOGs | Jeremy Kemper | 2010-08-28 | 1 | -1/+11 | |
| | ||||||
* | lifecycle should be two words, life cycle | Jaime Iniesta | 2010-08-26 | 2 | -5/+5 | |
| | ||||||
* | Make ActiveResource::InvalidRequestError more user friendly | Mikel Lindsaar | 2010-08-25 | 2 | -2/+17 | |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | |||||
* | fix broken relative links [#5415 state:committed] | Joost Baaij | 2010-08-24 | 1 | -1/+1 | |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | |||||
* | Master is now targeting 3.1.0.beta | David Heinemeier Hansson | 2010-08-23 | 1 | -2/+2 | |
| | ||||||
* | deletes the rdoc task of each component, they are no longer published separately | Xavier Noria | 2010-08-20 | 1 | -17/+0 | |
| | ||||||
* | Bump up rdoc to 2.5.10 | Santiago Pastorino | 2010-08-18 | 1 | -1/+1 | |
| | ||||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 7 | -35/+35 | |
| | | | | 's/[ \t]*$//' -i {} \;) | |||||
* | Merge remote branch 'docrails/master' | Xavier Noria | 2010-08-12 | 1 | -17/+17 | |
|\ | ||||||
| * | applied guidelines to "# =>" | Paco Guzman | 2010-08-12 | 1 | -17/+17 | |
| | | ||||||
* | | adds missing requires for Object#try | Xavier Noria | 2010-08-09 | 1 | -1/+5 | |
|/ | ||||||
* | fix loading of different elements in array then int and string [#5036 ↵ | Josef Reidinger | 2010-08-02 | 2 | -3/+15 | |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Prep for RC | David Heinemeier Hansson | 2010-07-26 | 2 | -1/+6 | |
| | ||||||
* | fix escaping id and parameters in path [#5137 state:resolved] | Josef Reidinger | 2010-07-26 | 2 | -2/+3 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | APIs for individual components are no longer published | Xavier Noria | 2010-07-26 | 1 | -6/+0 | |
| | ||||||
* | Object#returning removed | Santiago Pastorino | 2010-07-25 | 1 | -1/+0 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | update Rakefiles for RDoc 2.5 | Aaron Patterson | 2010-07-23 | 1 | -4/+4 | |
| | ||||||
* | Makes Rakefile activate rdoc >= 2.5.9 | Santiago Pastorino | 2010-07-23 | 1 | -1/+1 | |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | |||||
* | These tests are trusting in the order of the elements so use OrderedHash ↵ | Santiago Pastorino | 2010-07-21 | 1 | -1/+2 | |
| | | | | instead of Hash | |||||
* | Change some missing README -> README.rdoc | Santiago Pastorino | 2010-07-22 | 1 | -3/+3 | |
| | ||||||
* | Add .rdoc extension to README files. | José Valim | 2010-07-21 | 2 | -1/+1 | |
| | ||||||
* | Make sure ActiveResource::Errors#from_json doesn't pass nil to #from_array ↵ | David Trasbo | 2010-06-26 | 2 | -2/+13 | |
| | | | | | | [#3650 state:commited] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Fix bug where ActiveResource::HttpMock would overwrite Accept/Content-Type ↵ | Elomar França | 2010-06-24 | 2 | -2/+85 | |
| | | | | | | header to application/xml [#4939 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵ | José Valim | 2010-06-24 | 5 | -23/+20 | |
| | | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved] | |||||
* | Merge remote branch 'rails/master' | Xavier Noria | 2010-06-20 | 1 | -2/+3 | |
|\ | | | | | | | | | Conflicts: actionpack/lib/abstract_controller/base.rb | |||||
| * | pdoc tasks publishe APIs in api.rubyonrails.org | Xavier Noria | 2010-06-16 | 1 | -1/+1 | |
| | | ||||||
| * | use RDoc 2.2 to generate the documentation of individual components | Xavier Noria | 2010-06-16 | 1 | -1/+2 | |
| | | ||||||
* | | Fix a bunch of minor spelling mistakes | Evgeniy Dolzhenko | 2010-06-15 | 1 | -2/+2 | |
|\ \ | |/ |/| |