Rails4

Relates to #20