lib/simple_auth/session.rb in simple_auth-0.1.4 vs lib/simple_auth/session.rb in simple_auth-0.1.5
- old
+ new
@@ -27,9 +27,13 @@
end
def empty?
@errors.empty?
end
+
+ def [](attr_name)
+ []
+ end
end
def self.find
session = new
session.record = session.model.find_by_id(session.controller.session[:record_id])