Javi Martín
d0d681a44b
Add and apply EmptyLineAfterGuardClause rule
...
We were inconsistent on this one. I consider it particularly useful when
a method starts with a `return` statement.
In other cases, we probably shouldn't have a guard rule in the middle of
a method in any case, but that's a different refactoring.
2019-10-24 17:56:03 +02:00
Javi Martín
9fe8c47528
Apply Rails/SafeNavigation rubocop rule
2019-09-10 21:43:39 +02:00
Bertocq
63631f29a8
Add ballot_lines_count counter_cache to ballot -> ballot line relationship
2019-05-16 22:01:42 +02:00
Juanjo Bazán
7ab602175a
makes models inherit from ApplicationRecord
2019-04-17 17:40:56 +02:00
rgarcia
aeb84108bc
Verify poll ballots
2019-04-10 18:29:01 +02:00
rgarcia
1eaa5cc77b
stores the heading where the user has voted
2019-04-10 18:15:43 +02:00
Bertocq
69f4e1c683
Fix all rubocop Metrics/LineLength issues (140+)
2017-07-10 13:22:49 +02:00
Bertocq
2888c20489
Fix all Style/RedundantSelf rubocop issues
2017-07-05 11:55:52 +02:00
Bertocq
02524b164a
Rubocop autocorrections (indentations, revers unless to if, extra spaces)
2017-06-08 12:14:35 +02:00
rgarcia
42f62e5c36
stores reclassified votes
2017-05-17 15:13:28 +02:00
Juanjo Bazán
a4bfe9c50c
adds ballot_lines counter to investments
2017-04-28 13:19:43 +02:00
kikito
f5dcb51d37
Adds valid_heading validation to budget line. Renames validation methods.
2017-01-04 13:56:42 +01:00
kikito
f125941bbf
Tweaks unselected error in ballot/line
2016-12-23 15:22:19 +01:00
kikito
430507ec1e
Adds budget_lines.selected
2016-12-22 20:24:59 +01:00
kikito
19e19e5c43
Fixes error when trying to denormalize a model whose dependent field is nil
2016-12-16 18:00:18 +01:00
kikito
355e286608
De-normalizes references in budgetballotline automatically
2016-12-15 18:17:52 +01:00
rgarcia
1c8f4d5ff0
can remove investment projects
2016-09-10 16:22:41 +02:00
rgarcia
f21fda0898
fixes pending specs
2016-07-27 16:39:25 +02:00
rgarcia
3c55d66591
fixes conflicts with budget
2016-07-27 11:41:46 +02:00
Juanjo Bazán
56a358a638
adds funds and feasibility validations to lines
2016-06-11 15:01:51 +02:00
Juanjo Bazán
ab008ed4e9
adds denormalization to budget::ballot::lines
2016-06-11 14:57:07 +02:00
kikito
c6c3e22a40
Adds methods for investments in models
2016-06-03 18:44:34 +02:00
Juanjo Bazán
57642075a7
adds ballot model spec
2016-05-24 13:04:12 +02:00
kikito
9d195609f9
Adds models
2016-05-20 12:41:48 +02:00