Harry Wood
|
3ca8b63643
|
Put issue comments through kramdown formatter
On issue comments (which only admins can create or see), put the `body` text through kramdown formatting.
|
2022-05-06 13:36:59 +01:00 |
|
Andy Allan
|
8938ab7997
|
Remove redundant presence validation on belongs_to
There's no need for us to have it when rails does this for us.
|
2022-03-01 10:01:16 +00:00 |
|
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 |
|
Tom Hughes
|
d73a5d4bc0
|
Merge character validators
|
2018-11-05 18:54:19 +00:00 |
|
J Guthrie
|
c2f23fea6a
|
Create invalid_char validators and apply to models
|
2018-11-05 14:27:03 +00:00 |
|
Andy Allan
|
5310c7000c
|
Remove cascading deletes, add another foreign key, and switch index around.
|
2018-03-14 16:15:39 +08:00 |
|
Andy Allan
|
1956ab5913
|
Use a simple user_id for tables with one owning user
This is the standard way of naming in rails, and it avoids having
to tell rails which models are actually required.
|
2017-11-29 16:23:13 +00:00 |
|
Andy Allan
|
2dd8f09395
|
Remove the reassign column from issue_comments
Reassigning is an effect of a controller action, not something that
should be stored in the database like this.
|
2017-11-29 16:05:12 +00:00 |
|
Andy Allan
|
fc0096289d
|
Annotate models.
|
2017-11-29 12:34:04 +00:00 |
|
Andy Allan
|
33c43ab0af
|
Ensure that issue comments have associated issues and users.
|
2017-09-13 15:01:36 +01:00 |
|
Matt Amos
|
757a1aaa85
|
Made rubocop happy by formatting and minor syntax tweaks.
|
2016-08-22 17:24:10 +01:00 |
|
Shrey
|
d5f02968f6
|
Fixed tests + Altered migration file + Added reporting strings + Added update method
|
2016-08-22 16:17:54 +01:00 |
|
Shrey
|
683722ed5c
|
Added IssueComments + ForeignKeys + Indexes
|
2016-08-22 16:15:12 +01:00 |
|