Skip to content

Commit

Permalink
Fix timestamp deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
danbee committed Jan 21, 2016
1 parent 8fe8faa commit 2176d6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* [#295] [FEATURE] Add dashboard detection for ActiveRecord::Enum fields.
* [#364] [FEATURE] Improve dashboard generator by explicitly listing out the
generated `SHOW_PAGE_ATTRIBUTES` array elements.
* [#390] [BUGFIX] Fix timestamp deprecation warnings
* [#396] [I18n] Ukrainian
* [#297] [I18n] Add Italian translations
* [#307] [I18n] Fix German grammatical errors
Expand Down
4 changes: 2 additions & 2 deletions spec/generators/dashboard_generator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def table_attribute_limit
ActiveRecord::Schema.define do
create_table :foos do |t|
t.string :name
t.timestamps
t.timestamps null: true
end
end

Expand All @@ -403,7 +403,7 @@ class Foo < ActiveRecord::Base
ActiveRecord::Schema.define do
create_table :foos do |t|
t.string :name
t.timestamps
t.timestamps null: true
end
end

Expand Down

0 comments on commit 2176d6a

Please sign in to comment.