0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

rails かしこさ

Posted at

##railsのかしこさに感動

title
$ rails g model Friendly
Running via Spring preloader in process 12491
      invoke  active_record
      create    db/migrate/20210913142600_create_friendlies.rb
      create    app/models/friendly.rb
      invoke    test_unit
      create      test/models/friendly_test.rb
      create      test/fixtures/friendlies.yml
マイグレーションファイル
class CreateFriendlies < ActiveRecord::Migration[5.2]
  def change
    create_table :friendlies do |t|

      t.timestamps
    end
  end
end

##ちゃんとfriendliesになっている!??
friendlysになると思ったけどならなかった
すげぇ
以上w

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?