2022年7月21日 Rails で model 名と異なる table を使う Rails で model 名と異なる table を使う Copy self.table_name = "table_names" という感じ。このくらいのものも boiler-plate に入れようと思う。