You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to include a simple user authentication into my application, based on a filemaker database (using the ginjo-rfm gem). I've written several user authentication systems in rails and ActiveRecord, but not with ginjo-rfm. I'm only looking to base the authentication on :username and :password (both plain text) allready stored in the FM-database. I'm totally clueless on how to do this without ActiveRecord as an ORM/wrapper.
Progress so far: The Rails app is connected to the DB trough RFM and it works as a charm, and I'm able to get and set to the database without problems. The problem occurs when trying to write the model and controller for user authentication, ActiveRecord standard methods like 'find_by', or 'where' won't work. Is there anyway to rephrase the way the authentication logic is written?
Has anyone done this? Could someone point me in the right direction? If so, I'll be forever grateful!
The text was updated successfully, but these errors were encountered:
I use a heavily modified (to work with Rfm instead of ActiveRecord) version of the original acts_as_authenticated plugin to provide authentication & access control to my rails projects with Filemaker as the backend. Maybe one of these days I'll wrap it up as a gem, but right now it's pretty specific to my projects.
I'm trying to include a simple user authentication into my application, based on a filemaker database (using the ginjo-rfm gem). I've written several user authentication systems in rails and ActiveRecord, but not with ginjo-rfm. I'm only looking to base the authentication on :username and :password (both plain text) allready stored in the FM-database. I'm totally clueless on how to do this without ActiveRecord as an ORM/wrapper.
Progress so far: The Rails app is connected to the DB trough RFM and it works as a charm, and I'm able to get and set to the database without problems. The problem occurs when trying to write the model and controller for user authentication, ActiveRecord standard methods like 'find_by', or 'where' won't work. Is there anyway to rephrase the way the authentication logic is written?
Has anyone done this? Could someone point me in the right direction? If so, I'll be forever grateful!
The text was updated successfully, but these errors were encountered: