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

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -

jQuery clickable div with working mailto link inside -