ruby 2 & rails 4 base