Updated Sources with Rails 4 strong_parameters
Fixed two query bugs