Hello,
what is the easiest way to use ActiveResource with the current stable
release of rails.
Is there a gem or a plugin?
Regards,
Armin
Hello,
what is the easiest way to use ActiveResource with the current stable
release of rails.
Is there a gem or a plugin?
Regards,
Armin
Hi Armin, it appears to be a plugin at this time. Thus, you can get
it by doing the following within your rail’s application root
directory:
svn co http://dev.rubyonrails.org/svn/rails/trunk/activeresource
vendor/rails/activeresource
Good luck,
-Conrad
On Apr 1, 5:29 pm, “Conrad T.” [email protected] wrote:
Hi Armin, it appears to be a plugin at this time. Thus, you can get
it by doing the following within your rail’s application root
directory:svn cohttp://dev.rubyonrails.org/svn/rails/trunk/activeresource
vendor/rails/activeresourceGood luck,
-Conrad
Is the README file there currently the best way to learn how to use
ActiveResource?
Jeff
Hi, it’s there. However, I would highly recommend that you understand
REST before moving onto ActiveResource. Please see the relevant
chapter within AWDwRv2.
Good luck,
-Conrad
Hi, thanks Rick for posting a correction to my statement.
-Conrad
On 4/1/07, Conrad T. [email protected] wrote:
Hi Armin, it appears to be a plugin at this time. Thus, you can get
it by doing the following within your rail’s application root
directory:svn co http://dev.rubyonrails.org/svn/rails/trunk/activeresource
vendor/rails/activeresource
It’s not a plugin. I think it requires the edge version of
ActiveSupport too, so it might not work at all with Rails 1.2.3.
–
Rick O.
http://lighthouseapp.com
http://weblog.techno-weenie.net
http://mephistoblog.com
Hi,
thank you for your answers. I will try to switch to edge:
– edge for the client side with ActiveResource
– 1.2.3 for the server side.
I hope that will work, because switching the server to edge is
currently not an option for me.
Armin
Hi Armin, you can switch to edge locally. Then just simply upload to
the server because edge will be installed into
your_rails_app/vendor/rails.
Good luck,
-Conrad
I am also trying to use ActiveResource with Rails 1.2.3 and came across
this link:
http://ryandaigle.com/articles/2007/4/26/activeresource-available-as-a-gem
I have installed the gem and tested it with IRB and it works fine.
Unfortunately, when I try to run my webrick server, I get this message:
can’t activate activesupport (= 1.4.2.7116), already activated
activesupport-1.4.2]
It seems that the ActiveResource gem pulls in ActiveSupport 1.4.2.7116
when it is installed, but ActionPack depends on 1.4.2.
I guess I will try using edge, but would be happier with the gem!
Keith
Conrad T. wrote:
Hi Armin, you can switch to edge locally. Then just simply upload to
the server because edge will be installed into
your_rails_app/vendor/rails.Good luck,
-Conrad
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs