pelle / oauth-plugin

Rails plugin for OAuth
http://stakeventures.com/articles/2009/07/21/consuming-oauth-intelligently-in-rails
MIT License
716 stars 216 forks source link

Generated migrations have the wrong column name for OauthToken#expires_at #94

Closed cnix closed 12 years ago

cnix commented 12 years ago

OauthToken expects a column named expires_at but the column was valid_to. This was changed in 0b2601ccf50dadeb6f0e1bc8e37273f9191cf2e3 but the migrations were never updated. Changed the field for mongoid too.

jaimeiniesta commented 12 years ago

This is still happening on 0.4.0.rc2; renaming the column fixes it.

Please merge the fix :)

pelle commented 12 years ago

Sorry missed this.