Ruby on Rails Thursday, October 3, 2019



On Thursday, October 3, 2019 at 6:25:08 PM UTC-4, fugee ohu wrote:
 ITEM_TYPES =  ['General', 'Book', 'Record', 'Magazine', 'Pez dispenser', 'CD', 'VHS casette']
Now I wanna use ITEM_TYPES in my view but rails says

undefined method `ITEM_TYPES' for #<Class:...>

Thanks

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c166adfc-d6dd-4d58-92c9-1578f57391cc%40googlegroups.com.

No comments:

Post a Comment