Skip to content

Instantly share code, notes, and snippets.

@alex-laties
Created February 15, 2012 19:38
Show Gist options
  • Save alex-laties/1838404 to your computer and use it in GitHub Desktop.
Save alex-laties/1838404 to your computer and use it in GitHub Desktop.
/Users/ag/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/lib/active_record/attribute_methods/write.rb:14: syntax error, unexpected '?', expecting ';' or '\n'
def is_professor?=(new_value); write_attribute...
^
/Users/ag/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/lib/active_record/attribute_methods/write.rb:14: syntax error, unexpected keyword_end, expecting $end
...is_professor?', new_value); end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment