Frederick Cheung wrote:
On May 27, 9:03�am, Vikas Gholap rails-mailing-l...@andreas-s.net
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
Vikas Gholap wrote:
Frederick Cheung wrote:
On May 27, 9:03�am, Vikas Gholap rails-mailing-l...@andreas-s.net
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
Frederick Cheung wrote:
On May 27, 12:24�pm, Vikas Gholap rails-mailing-l...@andreas-s.net
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
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',
i guess the select tag should be represented as form.select_tag
--~--~-~--~~~---~--~~
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 rubyonrails-talk@googlegroups.com
To
vimal wrote:
i guess the select tag should be represented as form.select_tag
thank a lot but i used it , i have error this this
undefined method `select_tag' for
#ActionView::Helpers::FormBuilder:0xb788a2a4
--
Posted via http://www.ruby-forum.com/.
use it as a symbol :organelle rather than as a string organelle
make sure the :organelle field is made available in ur model seqfeature
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To
change like
%= form.select :organelle, ([,
mitochondrion, nucleomorph, plastid, mitochondrion:
kinetoplast,
plastid: chloroplast, plastid: apicoplast, plastid:
chromoplast,
plastid: cyanelle, plastid: leucoplast, plastid:
protoplastid ])
%
and it will submit to the create action of
I am a little busy
for better understanding
http://guides.rails.info/form_helpers.html
--~--~-~--~~~---~--~~
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
thank you very much ,i can fix it -__-
2009/2/27 Sijo Kg rails-mailing-l...@andreas-s.net
change like
%= form.select :organelle, ([,
mitochondrion, nucleomorph, plastid, mitochondrion:
kinetoplast,
plastid: chloroplast, plastid: apicoplast, plastid:
chromoplast,
plastid: cyanelle,
Jinal Jhaveri wrote:
You can do something like this:
select_tag('new_member',
options_for_select(['']...@group.logins_not_in_group))
As you see you can add blank ('') as a new option.
perfect dude! I was looking exactly for this
--
Posted via http://www.ruby-forum.com/.
Thiti Panya wrote:
i create drop-down memu for organelle by using select_tag but problem
is
can't get value for form select_tag to database seqfeature but
form.text_field ,it's work , i don't understand
why? pls help me
##
code
12 matches
Mail list logo