Rails Console and Account table #80
-
Hi, I'm new and relatively inexperienced with Ruby and Rails, although I've built out a few full-stack applications including a SPA with a jwt token, and I'm currently trying to figure out how to implement rodauth-rails in my rails API backend. I have two questions: First, I ran the basic config as outlined in your tutorial, i.e.
Any insight into what could be the problem here? Second question is that it seems that the the default configuration for the table that's created for a user is Sorry if this is not the right forum to ask, but there's little documentation on how to use rodauth with an API. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi Donnovan,
Did you by any chance rename
Yes, Rodauth allows you change any table name via methods.grep(/_table$/) do |table_method|
public_send(table_method) { super().sub("account", "user") }
end |
Beta Was this translation helpful? Give feedback.
-
Just want to add a small correction for future users here:
|
Beta Was this translation helpful? Give feedback.
Just want to add a small correction for future users here: