joshk / devise_suspendable Goto Github PK
View Code? Open in Web Editor NEWDevise user account suspension module
License: MIT License
Devise user account suspension module
License: MIT License
devise_suspendable/model.rb:38: syntax error, unexpected '=', expecting ')'
self.save(:validate = false) if self.changed?
I think you meant self.save(validate=false) or something like that...
Cant find a gem on gemcutter to download.
http://rubygems.org/search?query=devise
I would also change the script link to use the public git path http://github.com/joshk/devise_suspendable.git
Hi there,
I've tried installing as per the instructions, but I get the following error;
/home/graeme/.rvm/gems/ree-1.8.7-2011.03@epra/gems/devise-1.4.5/lib/devise/models.rb:60:in `const_get': uninitialized constant Devise::Models::Activatable (NameError)
If I include suspendable but leave out activatable I don't get an error but it doesn't stop the user from logging in either.
Thanks,
Graeme
apply_schema
which is used to migrate doesn't appear to work in rails 3
undefined method 'apply_schema' for #<ActiveRecord::ConnectionAdapters::TableDefinition:
To clarify, it doesnt appear to work with the devise versions compatible with rails 3.
apply_schema
should be apply_devise_schema
I think
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.