Forum: Ruby on Rails [Rails 5] include ActiveModel::Model - Select Method Problem

799dbaadbef34693ed42a2c51862c852?d=identicon&s=25 Emrah Yildirim (emrah)
on 2016-09-16 16:58
Greetings,

https://github.com/emrahyildirim/radgroup/

/App/view models/forms_model.rb

Rails console
FormModel.select(:name) can not use the command.

error
nomethoderr (private method 'select' called for

I am asking for your help.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.