From 5a4c4e5e9c1e265ebe8cf50c09a0a26105c51ea2 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 5 Nov 2013 10:05:51 -0800 Subject: [PATCH 1/1] Update CONFIGURE.md for Rails 4 Rails 4 doesn't support a :without_protection => true option. --- CONFIGURE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONFIGURE.md b/CONFIGURE.md index 7feae6a1e..8cae440bd 100644 --- a/CONFIGURE.md +++ b/CONFIGURE.md @@ -31,9 +31,9 @@ To give administrator or moderator permissions: $ bundle exec rails console >> user = User.find_by_display_name("My New User Name") => #[ ... ] ->> user.roles.create( {:role => "administrator", :granter_id => user.id}, :without_protection => true) +>> user.roles.create(:role => "administrator", :granter_id => user.id) => #[ ... ] ->> user.roles.create( {:role => "moderator", :granter_id => user.id}, :without_protection => true) +>> user.roles.create(:role => "moderator", :granter_id => user.id) => #[ ... ] >> user.save! => true -- 2.43.2