Did you use the self.table_name = 'servicename_user' assignment in your User
class? That's a critical part of getting a legacy database to work with Rails.
Walter
> On Jan 19, 2018, at 1:17 AM, 정인중 wrote:
>
> I am switching old systems created with php to Rails.
> I want to
I am switching old systems created with php to Rails.
I want to use the table 'servicename_user' of the previous system in the
User model.
There is no problem with the console or controller, but when I try to
create the rspec test, I get the following error message:
Failure/Error: it {
2 matches
Mail list logo