Hello, Is there is a simple way to convert string to model name? Thanks
“Model”.constantize
http://api.rubyonrails.org/classes/ActiveSupport/CoreExtensions/String/Inflections.html#M001341
Andrew Timberlake http://ramblingsonrails.com
http://MyMvelope.com - The SIMPLE way to manage your savings