Ruby on Rails Inflection Issue
I am using Ruby on Rails to create a website for a game I play. I have a User model and a Starbase model. The relationship I am trying to setup is like so class User < ActiveRecord::Base has_many :starbases end class Starbase < ActiveRecord::Base belongs_to :user end However when I open script/console and try to access the users starbases it gives me an error: NameError: uninitialized constant User::Starbasis . It seems as if it is a problem with inflection and rails is not pluralizing starbase correct. I have tried adding this to the inflections.rb in the intializers folder: ActiveSupport: