Skip to content

Commit 4f1dcc6

Browse files
committed
Replace lenght with limit to be compatible with Rails >= 7.1
1 parent d12060a commit 4f1dcc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/fixtures/active_record.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
end
5353

5454
create_table :posts, force: true do |t|
55-
t.string :title, length: 255
55+
t.string :title, limit: 255
5656
t.text :body
5757
t.integer :author_id
5858
t.integer :parent_post_id

0 commit comments

Comments
 (0)