If I'm understanding you correctly, you want to load up script/console (or
rails console), instantiate a Seller object, and then access it from the
browser? I'm not sure you can do that, because your console is a separate
instance of the application (it may access the same database but it's
running
Philip,
Thank you for your help, that worked! I put that extra code in the
model, but I still get the uninitialized constant error in my browser
when accessing the show action. Not sure what may be the issue.
Thanks again for your help!
Phillip Ridlen wrote:
> In your console, you either need
2 matches
Mail list logo