Ruby on Rails Discussions
Singular Table name
rubyonrails-talk
Mauricio_Linhares1
(Maurício Linhares)
April 3, 2009, 2:17pm
1
class YourModel < ActiveRecord::Base
set_table_name 'test'
end
Try reading the docs ->
Related topics
Topic
Replies
Views
Activity
column names
rubyonrails-talk
0
97
April 28, 2010
remote database ActiveRecord model
rubyonrails-talk
0
95
April 24, 2007
Tutorial for mapping differently-named tables?
rubyonrails-talk
3
145
September 18, 2006
ActiveRecord::Base documentation
rubyonrails-talk
1
95
October 3, 2006
Getting table names
rubyonrails-talk
1
85
November 22, 2006