Tom Hughes
|
f0feca800d
|
Replace attr_accessible with strong parameters
|
2013-09-21 11:35:46 +01:00 |
|
Tom Hughes
|
1340fca8f1
|
Turn on mass assignment protection
Require any attribute that is going to be mass assigned to be
whitelisted, and whitelist those attributes which need it
|
2012-03-06 08:54:45 +00:00 |
|
Tom Hughes
|
832b96b75a
|
Merge branch 'master' into openid
Conflicts:
app/controllers/user_controller.rb
app/views/user/terms.html.erb
test/fixtures/users.yml
|
2011-05-21 12:14:56 +01:00 |
|
Tom Hughes
|
02e186ee5b
|
Allow user details to be fetched without agreeing terms
|
2011-04-20 21:17:59 +01:00 |
|
Tom Hughes
|
c6609cce24
|
Fixup tests to work after changes to user controller
|
2010-05-11 14:12:57 +01:00 |
|
Tom Hughes
|
fc9df968fc
|
Fix tests which do logins to handle the cookie test.
|
2009-10-09 09:13:13 +00:00 |
|
Matt Amos
|
1e3b3c1f10
|
Refactored user_role and controller. Now much more DRY.
|
2009-10-01 17:15:34 +00:00 |
|
Matt Amos
|
77851bac7b
|
Added better messages and error handling in a couple of places. Added integration checks to ensure that the blocking is actually working. Tests FTW.
|
2009-09-30 17:39:42 +00:00 |
|