2a34255e0b
Co-authored-by: Subin <subinthattaparambil@gmail.com> Co-authored-by: Manoj <manojmj92@gmail.com> Co-authored-by: Nithin <webofnithin@gmail.com>
8 lines
149 B
Ruby
8 lines
149 B
Ruby
class Addallnametousers < ActiveRecord::Migration[5.0]
|
|
def change
|
|
User.all.each do |u|
|
|
u.name = "Subash"
|
|
u.save!
|
|
end
|
|
end
|
|
end
|