Tim Linquist

Results 4 comments of Tim Linquist

How about a failing test for the expected behavior? I don't have enough context to help.

@bnisbett Are virtual attributes still supported in Rails ? It seems to me adding a getter and/or setter for :terms_of_service should resolve the issue?

I guess they are. This should help out: http://railscasts.com/episodes/167-more-on-virtual-attributes. I'm pretty familiar with this part of Active Record. If the setter is defined it'll use it when iterating over the...

Right I think they use method_missing to do this like simple_eav does. You need to define a getter/setter on the class for the "virtual attribute" ie : attr_accessor :your_attribute. Let...