This project is archived and is in readonly mode.

#1292 ✓wontfix

Cannot use table tables

Reported by mojoyoyo | October 30th, 2008 @ 12:35 AM | in 2.x

With scripts... Migration: create a database table called "tables". Model: create a model, table.rb. Controller: create a controller, tables_controller.rb

In the controller method create(), if you try to create an entry in the tables table by issuing (at first) @table = (for example) it does not resolve correctly to the correct (user) "Table" but I am supposing to some internal structure "Table" and you will get a wrong number of parameters error.

Curiously, if you start script/console, and type @table = it will resolve correctly.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket