and if you want to add a setter add the following, too:

def market_volume=(value)
  self.market.volume=value
end

I intentionally left out all of the safeguards, you better insert (like 
nil-checks etc.).

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/activescaffold/-/wygtuey3fPMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to