Merge branch 'develop' of https://github.com/martakostova/GAKUEngine into develop
Fix devise deprecation warning
Fix courses_controller_spec and generator error for exam_portion
Merge branch 'develop' of https://github.com/kalkov/GAKUEngine into develop

Conflicts:
	core/app/models/gaku/exam_portion.rb
[view] fixing attachment disposals
[fix] fix attachment disposals specs
[spec helper] add flash_recovered? method
[facotry] add traits for attachment factory