Vikas Gholap wrote:
> Frederick Cheung wrote:
>> On May 27, 9:03�am, Vikas Gholap <[email protected]>
>> wrote:
>> 
>>> Here i get "@subscription_types" object nil , when I render
>>> "_plan_pricing.html.haml" first time.
>>>
>>> Please tell me where i am doing wrong.
>>>
>> Does the plan_pricing action set @subscription_types to something ?
>> 
>> Fred
> 
> No I'm not setting @subscription_types to anything.
> 
> I tried to set @subscription_types in plan_pricing action as
> 
> @subscription_types = SubscriptionType.find(:all)
> so that it load default all subscription types
> 
> but it throws following error.

----------------------------------------------------
  ActionView::MissingTemplate in Businesses#plan_pricing

 Showing app/views/businesses/plan_pricing.html.haml where line #29
raised:

 Missing template businesses/_false.erb in view path
 F:/sarasaves/app/views:F:/sarasaves/vendor/plugins/community_engine/app/views:
-----------------------------------------------------------------------

 and line 29 is

 = 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

> Thanks,
> Vikas
-- 
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