skorks / active_record_openid_store Goto Github PK
View Code? Open in Web Editor NEWAn ActiveRecord-based OpenID store
An ActiveRecord-based OpenID store
When trying to install active_record_openid_store
in a Rails 3.2 project, I get this from bundler:
bundle install
Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/..
Bundler could not find compatible versions for gem "activerecord":
In snapshot (Gemfile.lock):
activerecord (3.2.6)
In Gemfile:
active_record_openid_store (~> 0.1.3) ruby depends on
activerecord (~> 3.0.0) ruby
I expected it to "just work".
Calling set_table_name is deprecated. Please use `self.table_name = 'the_name'` instead.
have fixed this minor issue in a fork, if you'd like to pull:
bpieck / active_record_openid_store
Hey there,
I'm attempting to use this gem with Rails 3.2.13, Devise 2.2.3, and OmniAuth 1.1.3. When I use ActiveRecordOpenidStore::ActiveRecordStore.new as my OmniAuth store, I get the following error on application startup: uninitialized constant ActiveRecordOpenidStore::ActiveRecordStore (NameError)
If I debug using Pry, ActiveRecordOpenidStore
responds, but ActiveRecordOpenidStore::ActiveRecordStore.new
gives me the error.
Manually requiring 'active_record_openid_store'
in devise.rb doesn't do anything as it already appears loaded (returns false).
Any ideas for things I should try or things I'm missing?
Thanks!
ActiveRecordStore#cleanup_associations deletes associations where issued+lifetime > now. I believe this should be issued+lifetime < now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.