Frederick Cheung wrote:
> On May 27, 12:24�pm, Vikas Gholap <[email protected]>
> wrote:
>>
>> �= render :partial => 'businesses/refresh_subscription_types', :layout
>> =>
>> �'false'
>>
>> i am not understanding what is this error. And there is no such file by
>> name _false.erb in my businesses view
> 
> You're telling it to use the layout called false. If you don't want it
> to use a layout you need to say :layout => false (ie the value false
> rather than the string 'false')
> 
> Fred

I fixed that syntax error 'false' to false but still getting same error

You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.collect

for
= select_tag 'subscription', 
options_for_select(@subscription_types.collect {|subscription_type| [ 
subscription_type.title, subscription_type.id ] })

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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to