Create a Model

I’m new to Ruby on Rails and I’m using Aptana Studio 3.0 for the IDE.
How do I create a Model called ‘Employees’.

Use ur console and write command rails g model Employee

thanks colin

On 2 March 2012 16:49, Greg [email protected] wrote:

I’m new to Ruby on Rails and I’m using Aptana Studio 3.0 for the IDE.
How do I create a Model called ‘Employees’.

Vishal is right, forget about the ide. The model should be called
Employee, the table will be employees.

Colin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs