Rails getting undefined method for existing field in database -


so have field in question table, called is_public..i migrated database, restarted , when error everytime call is_public record in question records.

undefined method `is_public' #<question:0x7e9aa780> 

any ideas why happening ?

are using attr_accessible? if so, add :is_public list.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -