ruby on rails - MongoDB and Authlogic, any gotchas? (mongomapper) -


Authlogic, by itself, looks very active for MongoDB (especially MoguPa):

However, one interesting thing is that it looks very awesome and simple.

Has anyone used it, or has any experience / recommendation for any authlogic mongodb implementation?

I went ahead and implemented it in a spike, changed from restful_authentication to authlogic. The only code I received was the need to add the following code

/app/models/user.rb

  In the class user, MongoMapper: : Document ... def self.quoted_table_name "users" end end  

The quoted_table_name was being requested while creating a new user_session, so I added it and everything was great and happy.

Highly recommend.

UPDATE

Once I start using multiple users, the login feature stops working for me if you're the first user If you use a password, you have to log in it, but nothing matters.

I switched to this initiator: which is good, I also recommend watching the divisive, whose mangamaparar is out of the box directly.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -