Pat Allan
f39c6fd927
Add the frozen_string_literal pragma comment to all Ruby files. ( #4725 )
2017-12-21 15:36:29 -02:00
Lucas Mazza
c228227bc1
Tweak no ORM check on `InstallGenerator`.
...
* Expand the explanation of why it fail.
* Raise a subclass of `Thor::Error` so the Thor doesn't output the exception
backtrace as it isn't useful for developers facing this error.
2016-02-15 10:16:43 -02:00
Arjun Sharma
648ed3b412
Raise error if no ORM is found during install generator
2016-02-14 14:59:38 -07:00
Lucas Mazza
eba91e6580
Read the `secret_key` value from Rails `secret_key_base`.
...
It is possible to override this by setting the `secret_key` manually
on the `devise.rb` initializer on your application.
2014-01-22 11:13:25 -02:00
Vasiliy Ermolovich
bb2ff3553b
require rails generator base class in devise generators
...
closes #2743
2013-11-15 15:56:09 +03:00
Paul Bellamy
0bcf71f8df
Rails has removed SecureRandom from ActiveSupport in Rails 3.2,
...
deprecated
* Changing references in generators and encryptable_test
2011-05-28 14:44:54 +01:00
José Valim
d6c6e7cfe1
Fix generators bug.
2010-07-27 16:14:09 +02:00
José Valim
6c49b428b3
Add flexibility to devise generators by using ORM hooks.
2010-07-04 17:15:24 +02:00