Sha256: 26d4804db7a9d8202f2a925fb1e7a702294c1b120bb0bd817892be5fa1a64874

Contents?: true

Size: 1.2 KB

Versions: 19

Compression:

Stored size: 1.2 KB

Contents

class AddLongText < ActiveRecord::Migration[4.2]
  def change
    text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ligula arcu, commodo et mauris ut, efficitur aliquet ex. Aliquam iaculis justo maximus, dapibus nibh a, tincidunt enim. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Pellentesque hendrerit pharetra nulla, ac euismod tellus rutrum non. Ut tortor enim, tincidunt vitae pharetra quis, tincidunt sit amet felis. Sed convallis nulla sed urna finibus aliquet. Aliquam a molestie orci. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum in finibus sem, ut sagittis enim.
Sed nulla sem, suscipit sit amet lobortis eget, gravida in lectus. In sagittis urna sit amet commodo egestas. Donec vulputate, orci ac gravida congue, orci arcu facilisis ante, sed blandit quam lacus ullamcorper eros. Duis vitae sem et eros luctus tempor et ut neque. Donec at molestie quam, vel gravida velit. Etiam eu consectetur massa, sit amet vehicula risus. Nullam elementum, neque non dignissim dignissim, arcu erat lobortis orci, quis venenatis eros nibh ac risus."
    User.last.update_attribute :bio, text
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
rails_db-2.4.4 test/dummy/db/migrate/20151014184243_add_long_text.rb
rails_db-2.4.3 test/dummy/db/migrate/20151014184243_add_long_text.rb
rails_db-2.4.2 test/dummy/db/migrate/20151014184243_add_long_text.rb
rails_db-2.4.1 test/dummy/db/migrate/20151014184243_add_long_text.rb
rails_db-2.4.0 test/dummy/db/migrate/20151014184243_add_long_text.rb
rails_db-2.3.1 test/dummy/db/migrate/20151014184243_add_long_text.rb
rails_db-2.3.0 test/dummy/db/migrate/20151014184243_add_long_text.rb
rails_db-2.2.1 test/dummy/db/migrate/20151014184243_add_long_text.rb
rails_db-2.2.0 test/dummy/db/migrate/20151014184243_add_long_text.rb
rails_db-2.1.1 test/dummy/db/migrate/20151014184243_add_long_text.rb
rails_db-2.1.0 test/dummy/db/migrate/20151014184243_add_long_text.rb
rails_db-2.0.6 test/dummy/db/migrate/20151014184243_add_long_text.rb
rails_db-2.0.5 test/dummy/db/migrate/20151014184243_add_long_text.rb
rails_db-2.0.4 test/dummy/db/migrate/20151014184243_add_long_text.rb
xplore-0.0.1.alpha test/dummy/db/migrate/20151014184243_add_long_text.rb
rails_db-2.0.3 test/dummy/db/migrate/20151014184243_add_long_text.rb
rails_db-2.0.2 test/dummy/db/migrate/20151014184243_add_long_text.rb
rails_db-2.0.1 test/dummy/db/migrate/20151014184243_add_long_text.rb
rails_db-2.0.0 test/dummy/db/migrate/20151014184243_add_long_text.rb