Aditya Prakash
ccc28cdc90
Add test for QuestionsController
...
new method was dead code.
@questions_conference was dead variable.
assignment of question's foreign key was unnecessary.
fixes in type of flash messages.
2016-02-25 12:42:55 +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