update gems
fix #1406. fix #1431. set recurring_period first before setting other attributes
update to Rails 3.2.14