Marcin Kulik
|
24bad5e628
|
Use strong_parameters instead of protected_attributes
|
2014-02-12 20:22:20 +01:00 |
|
Marcin Kulik
|
49644ffc68
|
Validate presence of a model, not id
|
2012-11-19 22:35:52 +01:00 |
|
Marcin Kulik
|
32b2cbed35
|
Move "created" and "as_json" from Comment to CommentDecorator
|
2012-04-09 17:16:41 +02:00 |
|
Marcin Kulik
|
45dd308186
|
Display comments count
|
2012-04-09 16:46:08 +02:00 |
|
Marcin Kulik
|
3f798ab7aa
|
Check code style with cane and tailor
|
2012-03-08 15:00:10 +01:00 |
|
Micha Wrobel
|
706460e71b
|
Show time ago in comments
|
2012-03-04 13:50:57 +01:00 |
|
Micha Wrobel
|
e7f5f57424
|
Some refactoring, and make possible to remove own comments
|
2012-03-04 13:50:56 +01:00 |
|
Micha Wrobel
|
9094b8b0b6
|
Override as_json to include more data
|
2012-03-04 13:50:17 +01:00 |
|
Micha Wrobel
|
877a59b365
|
Protect from mass assignment
|
2012-03-04 13:50:16 +01:00 |
|
Micha Wrobel
|
70cf1bdc3b
|
Add comment resource
|
2012-03-04 13:50:16 +01:00 |
|