Carlos Antonio da Silva
a18b73b43c
Remove all deprecation warnings in activeresource
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-09-06 13:38:38 +02:00
José Valim
599e46bf24
Revert "Setup explicit requires for files with exceptions. Removed them from autoloading."
...
Booting a new Rails application does not work after this commit [#5359 state:open]
This reverts commit 38a421b34d .
2010-09-02 21:11:03 +02:00
Andreas Garnæs
1503e45e2e
ActiveModel#to_xml fix (renamed parameter).
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-09-02 12:55:45 +02:00
Łukasz Strzałkowski
38a421b34d
Setup explicit requires for files with exceptions. Removed them from autoloading.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-09-02 11:54:04 +02:00
Mikel Lindsaar
58d0e2c23c
Adding option to ActiveResource to allow you to not reset the previously stored requests and responses by passing false to respond_to
2010-08-29 22:54:19 -07:00
Mikel Lindsaar
a299642293
Updating documentation on ActiveResource HTTP Mock and also adding test coverage
2010-08-29 22:54:19 -07:00
Jeremy Kemper
b861942691
Update CHANGELOGs for 3.0 release and upcoming 3.1
2010-08-29 22:06:48 -07:00
Jeremy Kemper
0d0c46abd1
Clean up CHANGELOGs
2010-08-28 15:45:14 -07:00
Jaime Iniesta
5430f5bd06
lifecycle should be two words, life cycle
2010-08-26 14:23:58 +02:00
Mikel Lindsaar
c1b49f1e18
Make ActiveResource::InvalidRequestError more user friendly
...
Signed-off-by: Xavier Noria <fxn@hashref.com >
2010-08-25 10:00:37 +02:00
Joost Baaij
20333be581
fix broken relative links [ #5415 state:committed]
...
Signed-off-by: Xavier Noria <fxn@hashref.com >
2010-08-24 16:20:32 +02:00
David Heinemeier Hansson
21b1f29720
Master is now targeting 3.1.0.beta
2010-08-23 21:44:57 -05:00
Xavier Noria
43291469cb
deletes the rdoc task of each component, they are no longer published separately
2010-08-20 13:30:31 +02:00
Santiago Pastorino
cad8bef5ea
Bump up rdoc to 2.5.10
2010-08-18 11:44:12 -03:00
Santiago Pastorino
b451de0d6d
Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;)
2010-08-14 04:12:33 -03:00
Xavier Noria
4134d7db34
Merge remote branch 'docrails/master'
2010-08-12 17:36:09 +02:00
Paco Guzman
8a2b69b727
applied guidelines to "# =>"
2010-08-12 17:09:58 +02:00
Xavier Noria
4f7565c4de
adds missing requires for Object#try
2010-08-09 15:25:21 +02:00
Josef Reidinger
59693c4c49
fix loading of different elements in array then int and string [ #5036 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-08-02 17:06:09 +02:00
David Heinemeier Hansson
856fc4bbc3
Prep for RC
2010-07-26 12:53:25 -05:00
Josef Reidinger
0e969bdaf8
fix escaping id and parameters in path [ #5137 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-26 16:59:47 +02:00
Xavier Noria
dcb7832ed5
APIs for individual components are no longer published
2010-07-26 00:05:14 +02:00
Santiago Pastorino
b0b9bf3204
Object#returning removed
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-25 23:30:27 +02:00
Aaron Patterson
b50635a59f
update Rakefiles for RDoc 2.5
2010-07-23 21:11:29 +02:00
Santiago Pastorino
b378b19430
Makes Rakefile activate rdoc >= 2.5.9
...
Signed-off-by: Xavier Noria <fxn@hashref.com >
2010-07-23 00:04:06 +02:00
Santiago Pastorino
30df88ae06
These tests are trusting in the order of the elements so use OrderedHash instead of Hash
2010-07-21 17:34:43 -07:00
Santiago Pastorino
d16c5cc99b
Change some missing README -> README.rdoc
2010-07-22 01:47:06 +08:00
José Valim
508fba9e07
Add .rdoc extension to README files.
2010-07-21 12:51:14 +02:00
David Trasbo
df083b482d
Make sure ActiveResource::Errors#from_json doesn't pass nil to #from_array [ #3650 state:commited]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-06-26 19:23:10 +02:00
Elomar França
176c386409
Fix bug where ActiveResource::HttpMock would overwrite Accept/Content-Type header to application/xml [ #4939 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-06-24 13:25:10 +02:00
José Valim
6788db824a
Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [ #4816 state:resolved]
2010-06-24 13:23:43 +02:00
Xavier Noria
207fa59675
Merge remote branch 'rails/master'
...
Conflicts:
actionpack/lib/abstract_controller/base.rb
2010-06-20 23:13:19 +02:00
Xavier Noria
2aa4e5f3fa
pdoc tasks publishe APIs in api.rubyonrails.org
2010-06-16 22:39:13 +02:00
Xavier Noria
01f3f0dbae
use RDoc 2.2 to generate the documentation of individual components
2010-06-16 22:30:06 +02:00
Evgeniy Dolzhenko
ef404c771d
Fix a bunch of minor spelling mistakes
2010-06-15 12:04:22 +04:00
Xavier Noria
f17159b029
edit pass: the names of Rails components have a space, ie, "Active Record", not "ActiveRecord"
2010-06-14 23:22:04 +02:00
Ryan Bigg
f453bb6d8a
There is no type="array" returned with errors. [#3691:resolved]
2010-06-12 12:13:21 +10:00
Evgeniy Dolzhenko
ccf9577aee
Fix a bunch of minor spelling mistakes
2010-06-11 14:15:34 +04:00
David Heinemeier Hansson
32d4330b81
Get ready for beta 4
2010-06-08 14:47:02 -04:00
Elomar França
15b0947579
Adding to_key to ActiveResource objects using ActiveModel::Conversion [ #4685 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-06-03 23:32:09 +10:00
Neeraj Singh
1bc6b43f53
Replace assert with assert_equal in some test cases
...
[#4654 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-21 16:00:49 +02:00
Santiago Pastorino
aacf2581cd
refactor evals and adds some __FILE__ and __LINE__
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-20 15:18:57 +02:00
Neeraj Singh
39a246f545
Final iteration of use better testing methods
...
[#4652 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-19 21:31:51 +02:00
Neeraj Singh
c00f8e49ad
assert should be replaced with assert_equal in a particular test case
...
[#4636 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-18 16:12:59 +02:00
Santiago Pastorino
7ffe76046a
ActiveResource shouldn't consider modules in the path
...
[#4529 state:committed]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-15 09:38:32 +02:00
Neeraj Singh
a0621c1086
Better code formatting and proper line numbers for stack traces
...
[#4596 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2010-05-14 12:24:01 -07:00
Santiago Pastorino
903637f5f0
Fixes to_json and to_xml for ActiveResource
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-12 21:02:31 +02:00
Santiago Pastorino
bea3c26833
Make ActiveResource serialize XML correctly when element_name is set.
...
[#4529 ]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2010-05-12 09:31:36 -07:00
Santiago Pastorino
42fa2714c5
Make use of to_xml and to_json in tests
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2010-05-12 09:31:30 -07:00
Justin George
731d4392e4
Change event namespace ordering to most-significant first [ #4504 state:resolved]
...
More work still needs to be done on some of these names
(render_template.action_view and render_template!.action_view particularly)
but this allows (for example) /^sql/ to subscribe to all
the various ORMs without further modification
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-02 22:45:54 +02:00