[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Routing error with Rails

Dan Munk

1/28/2006 8:49:00 AM

Hello,

I am having an issue with Rails and am not sure what to troubleshoot.
I am running Mac OS X.

I executed the command from the Dave Thomas's book.

ruby script/generate scaffold Product Admin

Completed fine. When I access

localhost:3000/Admin

I get the error

Action Controller: Exception Caught, Routing Error Recognition failed
for "/Admin"

In the log I get

ActionController::RoutingError (Recognition failed for "/Admin"):
....

/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:21:in
`require'

/opt/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in
`require'

/opt/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28

/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:21:in
`require'

/opt/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in
`require'
script/server:3

so it looks like some error in activesupport from the stack. However
in irb I can load it no problem...

irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require_gem 'activerecord'
=> true
irb(main):003:0>

Any help would be greatly appreciated.

Thanks,
Dan

4 Answers

The Peeler

6/29/2013 9:10:00 PM

0

On Sat, 29 Jun 2013 12:38:03 +0200, The Peeler
<finishingoff@themoronicRevd.invalid> wrote:


>>> <BG> I just made a LAME attempt at a "retort", poor bleeding Grik psychopath that I am!
>>
>> <GB> You, HAVE The Grik anus!
>
>You HAVE endless fun, at the expense of a poor desperate Grik idiot like me! LOL

Endless innit The Grik anus! LOL2

The Peeler

6/29/2013 9:43:00 PM

0

On Sat, 29 Jun 2013 14:10:11 -0700, The Rectum, the resident psychopath of
sci and scj, FAKING his time zone again and IMPERSONATING his master, The
Peeler, wrote:

>> >>
>> >> <BG> LAME attempt at a "retort", poor bleeding psychopath!
>> >
>> > <GB> You, HAVE The Grik anus!
>>
>> I HAVE endless fun, poor desperate idiot! LOL
>
> Endless innit The Grik anus! LOL2

ENDLESS, little idiot! <BG>

--
tomcov about "The Rectum":
"Assholes come
Assholes go
But the revd asshole goes on forever.
(and he speaks through it)"
MID: <83356bf8-8666-4f4f-ac9a-ec5e9d5835fd@n35g2000yqf.googlegroups.com>

%

6/29/2013 9:58:00 PM

0

The Peeler wrote:
> On Sat, 29 Jun 2013 14:10:11 -0700, The Rectum, the resident
> psychopath of sci and scj, FAKING his time zone again and
> IMPERSONATING his master, The Peeler, wrote:
>
>>>>>
>>>>> <BG> LAME attempt at a "retort", poor bleeding psychopath!
>>>>
>>>> <GB> You, HAVE The Grik anus!
>>>
>>> I HAVE endless fun, poor desperate idiot! LOL
>>
>> Endless innit The Grik anus! LOL2
>
> ENDLESS, little idiot! <BG>

i defeated the griks again

%

6/30/2013 2:24:00 AM

0

The Peeler wrote:
> On Sat, 29 Jun 2013 23:42:48 +0200, The Peeler
> <finishingoff@themoronicRevd.invalid> wrote:
>
>> On Sat, 29 Jun 2013 14:10:11 -0700, The Rectum, the resident
>> psychopath of sci and scj, FAKING his time zone again and
>> IMPERSONATING his master, The Peeler, wrote:
>>
>>>>>>
>>>>>> <BG> I've made a LAME attempt at a "retort", poor bleeding Grik
>>>>>> psychopath that I am!
>>>>>
>>>>> <GB> You, HAVE The Grik anus!
>>>>
>>>> You HAVE endless fun, while I'm a poor desperate Grik idiot! LOL
>>>
>>> Endless innit The Grik anus! LOL2
>>
>> I'm an ENDLESS little Grik idiot! <BG>
>
> You, ARE The Grik anus! <GB>

the griks are dead no more peeeeee let