I am new to rails. I have tried Google searches, checked the tips and
doco and can’t find the answer to a simple question.
I have a table called “Activity” that I want to rename so I can use
RubyOnRails but I don’t know whether the plural form should be
“Activitys” or “Activities”.
Hey Simon! Check this out:
jeremy@ks editors $ ./script/console
Loading development environment.
The Rails console is your new best friend. It’s just the Ruby
interactive shell (irb) with your Rails app already all loaded up for
you to play with interactively.
You can even create classes dynamically and see the results:
class Activity < ActiveRecord::Base; end
=> [would have the columns here if I had an activities table]
Can someone illuminate me on what to do?
Take yourself out for a beer to celebrate your ./script/console discovery.