removed 'railties ~>3.1' dependencies for Rails 4 compaibility