Hi All I''m trying to build a RESTful web-service. Everywhere it is suggested to do ./script/generate scaffold_resource ..... but that doesn''t work anymore. I think it has todo with the rails version (2.1) Any suggestion how to do this in rails 2.1 ? Thnx a lot LuCa -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
On Jul 2, 2008, at 9:33 AM, Luca Scaljery wrote:> I''m trying to build a RESTful web-service. Everywhere it is > suggested to > > Any suggestion how to do this in rails 2.1 ?Just use "./script/generate scaffold ..." Thanks! Matt Darby, M.S. Rails | PHP | Linux | MySQL | IT Email: matt@matt-darby.com Skype: matt-darby Web: http://blog.matt-darby.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
I was just reading: When Rails 2.0 performs scaffolding it assumes you are going to use RESTfull routing ..... Some links to ActiveResource documentation would we useful! thnx LuCa -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Maybe you''re looking for this: http://api.rubyonrails.org/classes/ActionController/Resources.html#M000697 -JNS.> > On Wed, Jul 2, 2008 at 10:30 AM, Luca Scaljery > <ruby-forum-incoming@andreas-s.net> wrote: >> >> I was just reading: >> >> When Rails 2.0 performs scaffolding it assumes you are going to use >> RESTfull routing ..... >> >> Some links to ActiveResource documentation would we useful! >> >> thnx >> LuCa >> -- >> Posted via http://www.ruby-forum.com/. >> >> >> >> >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---