upgrade to rails 4
migrated to rails 4
removed mass assignment check
added protected_attributes
added csrf test