There is no code really. I just create a new app like
rails newapp
then wait
cd newapp
script/generate model user username:string
Then I go to the database and enter a few users
then I run script/console
and type
allusers = User.all
except there is no User object to be found. I can't just type in U
and press tab twice, this is what I get
UDPSocket UDPsocket UNIXServer UNIXSocket UNIXserver
UNIXsocket URI UnboundMethod
No User.
Hope this helps,
Trausti
On Thu, Feb 11, 2010 at 12:44 AM, Marnen Laibow-Koser
<[email protected]> wrote:
> Trausti Thor Johannsson wrote:
>> This seems to be contagious as now my Mac and other linux boxes that I
>> know have worked, don't work any more.
>>
>> When I start script/console, I get the prompt but no application
>> objects, no models, no database.
>>
>> What am I doing that is so wrong that the application it self works
>> like a charm, but I can't test stuff in the console ?
>
> How should we know? You haven't provided any code. Why not use git
> bisect to see where this problem started happening?
>
>>
>> Can this be because of ruby enterprise ?
>
> I doubt that extremely.
>
>>
>>
>> Best regards,
>>
>>
>> Trausti
>>
>> On Mon, Feb 8, 2010 at 10:36 AM, Trausti Thor Johannsson
>
> Best,
> --
> Marnen Laibow-Koser
> http://www.marnen.org
> [email protected]
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.