blacklight icon indicating copy to clipboard operation
blacklight copied to clipboard

Rerunning the generator with devise causes an error

Open pristinenoise opened this issue 14 years ago • 2 comments

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

pristinenoise avatar Mar 14 '12 16:03 pristinenoise

To replicate:

do quickstart. run rails g blacklight --devise rerun rails g blacklight --devise

pristinenoise avatar Mar 14 '12 16:03 pristinenoise

okay, this is just can't rerun with the devise option.

pristinenoise avatar Mar 14 '12 16:03 pristinenoise