I am following the instructions on how to use RESTful Rails plugin found at http://www.xml.com/pub/a/2006/04/19/rest-on-rails.html?page=3. When I run the rake test:functionals I get the following error message: rake aborted! undefined method `first'' for :book:Symbol (See full trace by running task with --trace) How can I fix this problem? I am using Rails 1.1.4 version. TIA
Bala, Why not use the RESTful routing built into Rails (edge only)?>rake rails:freeze:edgeNow your ready to go. Checkout: http://www.loudthinking.com/arc/000593.html and http://www.loudthinking.com/lt-files/worldofresources.pdf Hope this helps, Zack On 8/7/06, Bala Paranj <bparanj@yahoo.com> wrote:> I am following the instructions on how to use RESTful Rails plugin found at > http://www.xml.com/pub/a/2006/04/19/rest-on-rails.html?page=3. > > When I run the rake test:functionals > I get the following error message: > > rake aborted! > undefined method `first'' for :book:Symbol > > (See full trace by running task with --trace) > > How can I fix this problem? I am using Rails 1.1.4 version. TIA > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Zack, If I freeze an app to the edge, does that mean only that application is on Edge Rails? Thank you. --- Zack Chandler <zackchandler@gmail.com> wrote:> Bala, > Why not use the RESTful routing built into Rails (edge only)? > > >rake rails:freeze:edge > > Now your ready to go. > > Checkout: > http://www.loudthinking.com/arc/000593.html and > http://www.loudthinking.com/lt-files/worldofresources.pdf > > Hope this helps, > Zack > > On 8/7/06, Bala Paranj <bparanj@yahoo.com> wrote: > > I am following the instructions on how to use RESTful Rails plugin found at > > http://www.xml.com/pub/a/2006/04/19/rest-on-rails.html?page=3. > > > > When I run the rake test:functionals > > I get the following error message: > > > > rake aborted! > > undefined method `first'' for :book:Symbol > > > > (See full trace by running task with --trace) > > > > How can I fix this problem? I am using Rails 1.1.4 version. TIA > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Yes. On 8/8/06, Bala Paranj <bparanj@yahoo.com> wrote:> Zack, If I freeze an app to the edge, does that mean only that application is on Edge Rails? Thank > you. > > --- Zack Chandler <zackchandler@gmail.com> wrote: > > > Bala, > > Why not use the RESTful routing built into Rails (edge only)? > > > > >rake rails:freeze:edge > > > > Now your ready to go. > > > > Checkout: > > http://www.loudthinking.com/arc/000593.html and > > http://www.loudthinking.com/lt-files/worldofresources.pdf > > > > Hope this helps, > > Zack > > > > On 8/7/06, Bala Paranj <bparanj@yahoo.com> wrote: > > > I am following the instructions on how to use RESTful Rails plugin found at > > > http://www.xml.com/pub/a/2006/04/19/rest-on-rails.html?page=3. > > > > > > When I run the rake test:functionals > > > I get the following error message: > > > > > > rake aborted! > > > undefined method `first'' for :book:Symbol > > > > > > (See full trace by running task with --trace) > > > > > > How can I fix this problem? I am using Rails 1.1.4 version. TIA > > > _______________________________________________ > > > Rails mailing list > > > Rails@lists.rubyonrails.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
When I install the RESTful Rails plugin, I am getting the following error: 20:10:49:~/work/depot > script/plugin source http://svn.techno-weenie.net/projects/plugins Cannot find gem for Rails =1.1.2: Install the missing gem with ''gem install -v=1.1.2 rails'', or change environment.rb to define RAILS_GEM_VERSION with your desired version. How can I fix this problem? TIA.
Bala Paranj <bparanj@...> writes:> > When I install the RESTful Rails plugin, I am getting the following error: > > 20:10:49:~/work/depot > script/plugin sourcehttp://svn.techno-weenie.net/projects/plugins> Cannot find gem for Rails =1.1.2: > Install the missing gem with ''gem install -v=1.1.2 rails'', or > change environment.rb to define RAILS_GEM_VERSION with your desired version. > > How can I fix this problem? TIA. > >You don''t have the Rails 1.1.2 gem installed You should install the missing gem with ''gem install -v=1.1.2 rails'', or change environment.rb to define RAILS_GEM_VERSION with your desired version.
I think that NOT RECOMMENDED because of the vulnerabilities. You should upgrade to Edge, SimplyRESTful is built in. The plugin isnt maintained any more i think because it in trunk now, so i dont think theres a version for 1.16 2006/8/15, Gareth Adams <gareth.adams@gmail.com>:> > Bala Paranj <bparanj@...> writes: > > > > > When I install the RESTful Rails plugin, I am getting the following > error: > > > > 20:10:49:~/work/depot > script/plugin source > http://svn.techno-weenie.net/projects/plugins > > Cannot find gem for Rails =1.1.2: > > Install the missing gem with ''gem install -v=1.1.2 rails'', or > > change environment.rb to define RAILS_GEM_VERSION with your desired > version. > > > > How can I fix this problem? TIA. > > > > > > You don''t have the Rails 1.1.2 gem installed > > You should install the missing gem with ''gem install -v=1.1.2 rails'', or > change environment.rb to define RAILS_GEM_VERSION with your desired > version. > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Michael Siebert <info@siebert-wd.de> www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060815/cf530978/attachment.html
Sorry, I forgot to mention that I am on Rails 1.1.6. Does 1.1.6 include SimplyRESTful? Thank you! --- Michael Siebert <info@siebert-wd.de> wrote:> I think that NOT RECOMMENDED because of the vulnerabilities. You should > upgrade to Edge, SimplyRESTful is built in. The plugin isnt maintained any > more i think because it in trunk now, so i dont think theres a version for > 1.16 > > 2006/8/15, Gareth Adams <gareth.adams@gmail.com>: > > > > Bala Paranj <bparanj@...> writes: > > > > > > > > When I install the RESTful Rails plugin, I am getting the following > > error: > > > > > > 20:10:49:~/work/depot > script/plugin source > > http://svn.techno-weenie.net/projects/plugins > > > Cannot find gem for Rails =1.1.2: > > > Install the missing gem with ''gem install -v=1.1.2 rails'', or > > > change environment.rb to define RAILS_GEM_VERSION with your desired > > version. > > > > > > How can I fix this problem? TIA. > > > > > > > > > > You don''t have the Rails 1.1.2 gem installed > > > > You should install the missing gem with ''gem install -v=1.1.2 rails'', or > > change environment.rb to define RAILS_GEM_VERSION with your desired > > version. > > > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > -- > Michael Siebert <info@siebert-wd.de> > > www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Go to your config/environment.rb file and change RAILS_GEM_VERSION''s value to 1.1.6 On 8/14/06, Bala Paranj <bparanj@yahoo.com> wrote:> When I install the RESTful Rails plugin, I am getting the following error: > > 20:10:49:~/work/depot > script/plugin source http://svn.techno-weenie.net/projects/plugins > Cannot find gem for Rails =1.1.2: > Install the missing gem with ''gem install -v=1.1.2 rails'', or > change environment.rb to define RAILS_GEM_VERSION with your desired version. > > How can I fix this problem? TIA. > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- rm -rf / 2>/dev/null - http://null.in "Things do not happen. Things are made to happen." - JFK