>
> On 4.2.2008, at 19.16, Raimond Garcia wrote:
>> Interesting Jarkko...
>>
>> The restful routes, seem clearer than using urls, maybe not so much
>> for this case, but for very long urls, that include for example the
>> title of a blog, I would rather use blog_path(@blog).
>>
>> Yes, I want to t
On 4.2.2008, at 19.16, Raimond Garcia wrote:
> Interesting Jarkko...
>
> The restful routes, seem clearer than using urls, maybe not so much
> for this case, but for very long urls, that include for example the
> title of a blog, I would rather use blog_path(@blog).
>
> Yes, I want to test the full
>> Hi,
>>
>> I'm trying to test the behavior of a route with a delete method.
>>
>> Something like this:
>> When "the admin clicks on 'delete'" do
>>delete admin_blog_path(@blog)
>> end
>>
>> which raises the following exception:
>> NoMethodError: You have a nil object when you didn't expect i
>
> On 4.2.2008, at 14.54, Raimond Garcia wrote:
>
>> Hi,
>>
>> I'm trying to test the behavior of a route with a delete method.
>>
>> Something like this:
>> When "the admin clicks on 'delete'" do
>>delete admin_blog_path(@blog)
>> end
>>
>> which raises the following exception:
>> NoMethodEr
On Feb 4, 2008 10:49 AM, Raimond Garcia <[EMAIL PROTECTED]> wrote:
>
> On Feb 4, 2008 6:54 AM, Raimond Garcia <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to test the behavior of a route with a delete method.
>
> Something like this:
> When "the admin clicks on 'delete'" do
> delete admin_bl
On Feb 4, 2008 6:54 AM, Raimond Garcia <[EMAIL PROTECTED]> wrote:
Hi,
I'm trying to test the behavior of a route with a delete method.
Something like this:
When "the admin clicks on 'delete'" do
delete admin_blog_path(@blog)
end
which raises the following exception:
NoMethodError: You ha
On 4.2.2008, at 14.54, Raimond Garcia wrote:
> Hi,
>
> I'm trying to test the behavior of a route with a delete method.
>
> Something like this:
> When "the admin clicks on 'delete'" do
> delete admin_blog_path(@blog)
> end
>
> which raises the following exception:
> NoMethodError: You have
On Feb 4, 2008 6:54 AM, Raimond Garcia <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to test the behavior of a route with a delete method.
>
> Something like this:
> When "the admin clicks on 'delete'" do
> delete admin_blog_path(@blog)
>end
>
> which raises the following exception:
> No