PabloVallejo
5/3/2015 - 12:32 AM

assignment.rb


# Assigning multiple attributes to an object at once.
@thing.assign_attributes(
    :created_by => current_user,
    :period_template => period_template
)