Pat Allan
f39c6fd927
Add the frozen_string_literal pragma comment to all Ruby files. ( #4725 )
2017-12-21 15:36:29 -02:00
Lucas Mazza
353b14f473
Use versioned migrations when possible
...
Rails 5 deprecates inheriting directly from `ActiveRecord::Migration` in
favor of inheriting from `ActiveRecord::Migration[5.0]` where `5.0` is
the `major.minor` version of Rails that the migration was originally
written to support.
h/t to b0ce189c69
.
2016-03-07 11:38:37 -03:00
Gustavo Villa
91f93b38ee
Remove optional parenthesis.
2016-01-30 14:20:32 -03:00
Luciano Sousa
9177bd70cf
removing optional commas
2015-02-02 23:02:52 -03:00
Luciano Sousa
252a57d9b3
removing deprecation warning from rails 5
2015-02-02 22:54:46 -03:00
Anshul Sharma
dc1b399a8b
Updated ruby 1.9 hash syntax
2014-02-25 22:12:55 +05:30
José Valim
3232d14b20
token authenticatable mentions
2013-08-21 17:33:38 +02:00
José Valim
87b84ffded
Remove schema fields from Devise.
2011-12-05 11:28:04 +01:00
Vasiliy Ermolovich
f00d9c5eff
generate migrations with new .change method for rails >= 3.1. closes #1345
2011-11-06 15:47:34 +03:00
José Valim
4222afe3c7
Tidy up latest commits, update CHANGELOG.
2011-08-30 10:50:40 +02:00
Sean Hill
9629da863d
Added a template to create a migration when the model already exists. Changed the generator code to check if model exists, and if it does, call the new template instead of the standard template.
2011-08-25 07:05:19 -05:00