blacklight
blacklight copied to clipboard
Rerunning the generator with devise causes an error
Because you have selected "user", which is an existing class, you will need to install devise manually and then run this generator without the Devise option. You can find additional information here: https://github.com/plataformatec/devise.
Please be sure to include a to_s method in user that returns the users name or email, as this will be used by Blacklight to provide a link to user specific information.
This is almost certainly because devise is now at 2.0, instead of 1.5
To replicate:
do quickstart. run rails g blacklight --devise rerun rails g blacklight --devise
okay, this is just can't rerun with the devise option.