Henne Vogelsang
|
81853d1ef9
|
Retire semantic_form_for
Also a buttload of form cleanups...
|
2022-02-24 15:52:34 +01:00 |
|
Henne Vogelsang
|
85dae98a76
|
👋 update_attributes
You served us well...
|
2022-02-23 14:36:05 +01:00 |
|
James Mason
|
6d31dfeef4
|
Add frozen_string_literal magic comment
re: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/FrozenStringLiteralComment
|
2018-05-09 06:54:26 -07:00 |
|
Ana María Martínez Gómez
|
50410f6e4f
|
Fix multiple choice questions
|
2016-12-15 11:50:23 +01:00 |
|
Ana
|
c1334e59cc
|
Do not use unless with else
Solve Rubocop offense introduced in https://github.com/openSUSE/osem/pull/1123
|
2016-08-08 23:57:03 +02:00 |
|
Ana
|
7e5d20c89d
|
style: if ! changed by unless
- if ! changed by unless as it is more readable
- !object.blank? is equivalent to object.present?, also more readable
|
2016-08-06 00:57:07 +02:00 |
|
Henne Vogelsang
|
7d77495936
|
Hotfix question display
what a mess....
|
2016-05-25 14:40:45 +02:00 |
|
Nishanth Vijayan
|
1c1e56ed46
|
Change update/save failures to use flash type :error instead of :alert
|
2016-03-16 11:20:56 +05:30 |
|
Nishanth Vijayan
|
19c54bd935
|
Change all redirect_to(path) to redirect path for uniformity
|
2016-03-16 09:17:41 +05:30 |
|
Nishanth Vijayan
|
434eb90b76
|
Add flash type error.Rewrite controllers to use common flash style with redirect_to
|
2016-03-16 09:17:41 +05:30 |
|
Stella Rouzi
|
355ecc0ac6
|
Introduce strong parameters
|
2015-12-23 11:36:50 +02:00 |
|
Stella Rouzi
|
3b8b86eb85
|
show users per question
|
2015-04-22 18:55:51 +03:00 |
|
Stella
|
bcde6b300c
|
Do not require answers if it is a yes or no question.
|
2014-11-09 14:20:36 +02:00 |
|
Stella Rouzi
|
b7c45718d8
|
apply StringLiterals cop (remove double quotes, unless there is string interpolation)
|
2014-09-02 21:45:07 +03:00 |
|
Chrisbr
|
236f3f20e7
|
Adds error message to questions controller
|
2014-08-19 13:01:39 +02:00 |
|
Stella Rouzi
|
17ebad413e
|
base controller
Conflicts:
app/controllers/admin/commercials_controller.rb
app/controllers/admin/questions_controller.rb
app/controllers/admin/users_controller.rb
|
2014-08-14 11:36:07 +03:00 |
|
Stella Rouzi
|
beb88b848d
|
changes from comments, fix commercials failing test
|
2014-08-13 22:53:15 +03:00 |
|
Stella Rouzi
|
f7ef401be7
|
style fixes
|
2014-08-13 22:53:14 +03:00 |
|
Stella Rouzi
|
71dfb3b7e4
|
fix conflicts
|
2014-08-13 22:53:13 +03:00 |
|
Stella Rouzi
|
e2fb434dc7
|
Implement role authorization
|
2014-08-13 22:53:13 +03:00 |
|
Stella Rouzi
|
1c1391c69e
|
enable style ClassAndModuleChildren
|
2014-08-06 21:26:08 +03:00 |
|
Artem Chernikov
|
5289f41eb5
|
Use only new hash syntax
|
2014-07-21 15:05:58 +02:00 |
|
Artem Chernikov
|
763f864dc9
|
Fix basic style issues with rubocop
|
2014-07-21 15:05:58 +02:00 |
|
Artem Chernikov
|
494003892c
|
add skipped empty lines
|
2014-07-03 11:18:33 +02:00 |
|
Chrisbr
|
fbda757e70
|
Replaced find_all_by through find_by
Find_by_all is removed in Rails 4.1
|
2014-04-27 16:27:29 +02:00 |
|
Stella
|
3105c8da5d
|
question builder
|
2014-02-09 18:05:57 +02:00 |
|