After finding 2 very good tutorials(see below) on RESTfulness on rails i went about installing the plugin in a test rails project. Im not ready to move from gems to the edge yet, so had to use the plugin (revision 5163) from the following URL: http://dev.rubyonrails.org/svn/rails/plugins/simply_restful/ I tried to create a model using the normal generator and get the error below. Noticing the simpley_restful reference in there i tested the project by trying to start up webrick; same error. I would appreciate some direction on this. Does the plugin still work now that it has been moved to the core in edge ? Is the only way to create restful applications on rails through edge rails ? Thanks in advance for those who are able to help. Tutorials: david goodlad : Tampering with technology Erik kastner : Rest and rails - no reason to be scared Error: :/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `const_missing'': uninitialized constant Mapper (NameError) from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in `const_missing'' from ./script/../config/../vendor/plugins/simply_restful/init.rb:6:in `load_plugin'' from C:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:348:in `load_plugin'' from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'' from C:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:348:in `load_plugin'' from C:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:158:in `load_plugins'' from C:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:158:in `load_plugins'' from C:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:102:in `process'' ... 8 levels... from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'' from ./script/server:3 from -e:4 -- 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 -~----------~----~----~----~------~----~------~--~---
On 9/22/06, Adam Madd <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > After finding 2 very good tutorials(see below) on RESTfulness on rails i > went about installing the plugin in a test rails project. > > Im not ready to move from gems to the edge yet, so had to use the plugin > (revision 5163) from the following URL: > > http://dev.rubyonrails.org/svn/rails/plugins/simply_restful/ > > I tried to create a model using the normal generator and get the error > below. Noticing the simpley_restful reference in there i tested the > project by trying to start up webrick; same error. > > I would appreciate some direction on this. Does the plugin still work > now that it has been moved to the core in edge ? Is the only way to > create restful applications on rails through edge rails ? >To be honest, I don''t actually know the answer. I am wondering why you can''t use edge rails though? I''m guessing it''s because you are trying to get REST support into an existing project? If, on the off chance, you are creating a new project to play around with I''d probably go to edge. Chris --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
thanks chris. I have just moved to the edge. No more old gem installed rails for me. Ok this brings me to my new question. Ive just used freeze to install edge rails revision 5166. Is this common practise, to install the latest version? Im considering stability, do edge users tend to use a slightly older revision / non bleading edge ? How do you find out the best version to install -- 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 -~----------~----~----~----~------~----~------~--~---
Am 22.09.2006 um 13:11 schrieb Adam Madd:> Ok this brings me to my new question. Ive just used freeze to install > edge rails revision 5166. Is this common practise, to install the > latest > version? Im considering stability, do edge users tend to use a > slightly > older revision / non bleading edge ?Generally use what works. If your tests fail w/ latest edge or you have other problems step back a few revs and re-try (most of the time you can easily guess where it broke by reading the change history). -Thomas --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thomas Fuchs wrote:> Am 22.09.2006 um 13:11 schrieb Adam Madd: > >> Ok this brings me to my new question. Ive just used freeze to install >> edge rails revision 5166. Is this common practise, to install the >> latest >> version? Im considering stability, do edge users tend to use a >> slightly >> older revision / non bleading edge ? > > Generally use what works. If your tests fail w/ latest edge or you have > other problems step back a few revs and re-try (most of the time you can > easily guess where it broke by reading the change history). > > -Thomasgreat answer, exactally the information i was after, thanks ! -- 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 -~----------~----~----~----~------~----~------~--~---