Ruby on rails scaffolding in Netbeans 6.5 -


I am playing with Rail Scramble facility in Netbeans 6.5. Right click-> Generate gives me a menu that allows me to create scaffolds but asks for "attribute quiz" I have some tables with some columns, and in their scrawled pages, each person is individually All will be included instead of specifying Does anyone know how to do it within Netbeans?

Do you mean that you want to compile all the tables? I think the script does not do this

But you can actually create a table with all the necessary columns by specifying all attribute pairs. I do not use Netbeans, sorry, but you can specify them on the command line like this.

Each attribute added is a column in your table, for example, this command line

  ./ script / generating scaffold blogpost title: string body: text  

Creates a controller, a model, and some scenes The name of the blog post Blogpost will be your table name, and the title: string is an attribute pair is the same For more attribute pairs within the table, just add them at the end, the delimited location. Hopefully there is a menu that you can do in Netbeans.

I hope it will be helpful!

EDIT: A screenshot of the function was seen in Netbeans. You can specify your table name under 'Model Name'. Under the attribute pairs you can show all the columns in your table as shown above.

  Title: String body: Text  

If you want to use rail, with tables already present, it is a more advanced topic because Rail applies its own conference to a specific column names and this means that you will not comply with it.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -