Re: [Rails] Re: Re: Re: using includes in rails models

2010-08-14 Thread Phillip Ridlen
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

[Rails] Re: Re: Re: using includes in rails models

2010-08-14 Thread Ze Ca
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