[Rails] Argument Error when trying to render xml

2011-06-21 Thread mstoth
I have an application which uses gcal4ruby and retrieves events from a Calendar object. The events are received fine and I can look at them in the console however, when I try to render them in xml by using the following line render :xml => e I get the ArgumentError, 'wrong number of arguments (1

Re: [Rails] Argument error in controller # show

2010-11-14 Thread David Kahn
On Sat, Nov 13, 2010 at 3:37 PM, Dennis Pat wrote: > I'm a beginner in rails (ruby as well)and i'm using a book to help me > learn about rails (HF rails).Let's start with my spec : > -i'm using radrails v.2 in aptana studio > -ruby ver. 1.8.7 && ruby gems 1.3.7,with rails 2.3.4,mysql 5.1.41 and a

[Rails] Argument error in controller # show

2010-11-13 Thread Dennis Pat
I'm a beginner in rails (ruby as well)and i'm using a book to help me learn about rails (HF rails).Let's start with my spec : -i'm using radrails v.2 in aptana studio -ruby ver. 1.8.7 && ruby gems 1.3.7,with rails 2.3.4,mysql 5.1.41 and a mongrel server 1.1.5 In my controller i have the existing co

Re: [Rails] Argument Error?

2010-06-02 Thread Michael Pavling
On 2 June 2010 09:57, Pale Horse wrote: > View layer: > > <%= thumbnail_tag (@content_page.picture1), :border => 0, :width => 489, > :height => 236 %> > > Helper layer: > > def thumbnail_tag(picture, options = {}) >  link_to(scale_image_tag(picture, options.merge({:border => 0})), > "/settings/vie

[Rails] Argument Error?

2010-06-02 Thread Pale Horse
View layer: <%= thumbnail_tag (@content_page.picture1), :border => 0, :width => 489, :height => 236 %> Helper layer: def thumbnail_tag(picture, options = {}) link_to(scale_image_tag(picture, options.merge({:border => 0})), "/settings/view_image/#{picture.id}", :popup => ["_blank", "width=#{pic

[Rails] Argument error: Unknown key(s): count_includes

2008-11-13 Thread Caps Lock
Hi, I upgraded to rails 2.1. This in turn broke my active_scaffolds plugin however, the AS team had a newer version that could handle 2.1 So I install that, and now I find a new error which seems unrelated to the AS issue. I receive this message: Code : 1. ArgumentError in CategoryContr