Yeah, i was using my buddy's computer.

So, I think I understand, but want to make sure I understand how I would 
use these practically.  Basically, using these ruby shortcuts allows me 
to better work with and manage variables that I won't immediately be 
saving with my object.

For instance, in your special case, if I need to calculate the 
intersection of two shapes for the view, but didn't need to save that 
value in my DB, then I would use the setter method?

Maybe in your second example, where I'm doing nothing special, but had 
these points, I'd be using those points in a view or some other output, 
but wouldn't be returning them to be stored on a record, at least not 
immediately. Yes?

Thanks!

-Greg
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to