Changes

Jump to navigation Jump to search
3 bytes added ,  13:59, 10 November 2010
# search of particular object by its attributes
user = User.find_by_login("user")
project = UserProject.find_by_title("project")
# change object attributes
project.owner = User.find_by_email("foo@basbar")
project.save!

Navigation menu