method

assign_attributes

assign_attributes(attributes={})
private

Assigns attributes, dealing nicely with both multi and single paramater attributes Assumes attributes is a hash

1Note

I got it

neosoyn ยท Apr 22, 2012

Perfect match to work with attr_accessible