User model - step 2


I completed the first step by generating a model with rails generate model User. In the second step it says to add the following code:

class User < ActiveRecord::Base



to the file: app/models/user.rb

The file isn't there. The only files available under app/models are photo.rb and album.rb. Shouldn't the rails generate model User create the user file?


nvm - for whatever reason it didn't actually run the command and create the model. It just recognized that I typed that into the editor.

It ran the command after some time.


A post was split to a new topic: I Can't Generate The User Model


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.