Armin Joellenbeck
2007-Apr-01 18:33 UTC
How to use ActiveResource with Rails version 1.2.3
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Conrad Taylor
2007-Apr-01 22:29 UTC
Re: How to use ActiveResource with Rails version 1.2.3
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 4/1/07, Armin Joellenbeck <armin.joellenbeck-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> > 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 > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Apr 1, 5:29 pm, "Conrad Taylor" <conra...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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/activeresource > > Good luck, > > -ConradIs the README file there currently the best way to learn how to use ActiveResource? Jeff --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Conrad Taylor
2007-Apr-01 23:20 UTC
Re: How to use ActiveResource with Rails version 1.2.3
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 On 4/1/07, Jeff <cohen.jeff-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > On Apr 1, 5:29 pm, "Conrad Taylor" <conra...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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/activeresource > > > > Good luck, > > > > -Conrad > > Is the README file there currently the best way to learn how to use > ActiveResource? > > Jeff > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 4/1/07, Conrad Taylor <conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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/activeresourceIt''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 Olson http://lighthouseapp.com http://weblog.techno-weenie.net http://mephistoblog.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Conrad Taylor
2007-Apr-02 01:09 UTC
Re: How to use ActiveResource with Rails version 1.2.3
Hi, thanks Rick for posting a correction to my statement. -Conrad On 4/1/07, Rick Olson <technoweenie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > On 4/1/07, Conrad Taylor <conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 Olson > http://lighthouseapp.com > http://weblog.techno-weenie.net > http://mephistoblog.com > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Armin Joellenbeck
2007-Apr-03 09:12 UTC
Re: How to use ActiveResource with Rails version 1.2.3
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Conrad Taylor
2007-Apr-03 10:21 UTC
Re: How to use ActiveResource with Rails version 1.2.3
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 On 4/3/07, Armin Joellenbeck <armin.joellenbeck-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> > 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 > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 Taylor 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-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---