workin through rails  4.0.1