Updating config for rails 4
using callable objects in scopes
controller fixes