Andy Allan
|
a41d500b9f
|
Create an ApplicationRecord for models to inherit from
This is the default for Rails 5+, and also paves the way for
multiple database support.
|
2019-11-27 11:50:48 +01:00 |
|
Andy Allan
|
4377e2bd55
|
Update annotations to correctly show bigint types
|
2019-05-29 11:52:20 +02:00 |
|
Andy Allan
|
b2a8df0bd7
|
Add annotate gem and associated rake task. Annotate models.
|
2017-10-22 22:18:26 +01:00 |
|
Tom Hughes
|
5b33f3f8e3
|
Fix rubocop warnings
|
2017-06-02 00:08:30 +01:00 |
|
Andy Allan
|
c55169659c
|
Add a user_role factory
Naming the association in the model makes the relationship easier
to express in the factory.
|
2017-02-02 12:35:29 +00:00 |
|
Tom Hughes
|
8fe1899596
|
Fix rubocop warnings
|
2016-01-19 09:51:24 +00:00 |
|
Tom Hughes
|
dbe165bbb3
|
Fix some rubocop rails style issues
|
2015-02-26 00:12:54 +00:00 |
|
Tom Hughes
|
ef7f3d800c
|
Fix most auto-correctable rubocop issues
|
2015-02-20 08:56:16 +00:00 |
|
Matt Amos
|
1e3b3c1f10
|
Refactored user_role and controller. Now much more DRY.
|
2009-10-01 17:15:34 +00:00 |
|
Matt Amos
|
daa2496024
|
First version of blocking feature. Allows both time-based (for map protection) and notice-based (for education) blocks on users. Also introduces user roles and a simple UI for displaying and administering these.
|
2009-09-28 16:01:00 +00:00 |
|