search for: toolbelt

Displaying 2 results from an estimated 2 matches for "toolbelt".

Did you mean: tolbert
2006 Aug 11
0
Adress Book Integration?
...into address book and have them brought automatically into their Ruby on Rails app, and perhaps vice versa. I''ve just started looking into this and at the surface their doesn''t seem to be a lot of discussion on this topic, but it seems like a fantastic tool to add to the RoR toolbelt... Maybe you can give me a feel for how do-able that is, where you would start looking into it and if you''ve had any success in this area? Cheers! -C -- Posted via http://www.ruby-forum.com/.
2006 Jul 27
25
Why are has_one objects resaved when the parent is saved?
If the associated object of a has_one association has been loaded, it is resaved when the parent is saved. Eg: class Person < ActiveRecord::Base has_one :user end class User < ActiveRecord::Base belongs_to :person end p = Person.find(:first) p.save # As expected, nothing happens with the user association p.user # Loads the associated object p.save # As well as saving the person, the