ruby on rails - How do you fix? formtastic :label_method is no longer available -


ok.. i'm new ruby/rails. compensate weakness, company had guy come in me create bones of our website. put in formtastic :label_method, change fields displayed in ddlb. when moved project new box, got error.

:label_method no longer available

what i'm wondering is.. use in it's place?

i think might be:

:member_label 

according http://rubydoc.info/gems/formtastic/2.0.0/formtastic/helpers/inputhelper

"(symbol, proc, method) — deprecated, renamed :member_label"

if doesn't work post _form see?


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -