authenticates_rpi 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/authenticates_rpi.gemspec +1 -1
- data/lib/authenticates_rpi.rb +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.1
|
data/authenticates_rpi.gemspec
CHANGED
data/lib/authenticates_rpi.rb
CHANGED
@@ -158,7 +158,7 @@ module AuthenticatesRpi
|
|
158
158
|
# Preparation for authenticates_access plugin
|
159
159
|
def set_up_accessor
|
160
160
|
if (Module.constants.include? 'AuthenticatesRpi' &&
|
161
|
-
ActiveRecord::Base.methods.include?
|
161
|
+
ActiveRecord::Base.methods.include?('accessor='))
|
162
162
|
ActiveRecord::Base.accessor = current_user
|
163
163
|
end
|
164
164
|
end
|