Displaying 8 results from an estimated 8 matches for "axbwqsrlaavxtiumwx3w".
2010 Feb 22
9
Couldn't find Order with ID=pending_orders
I have a Controller named Orders which has a pending_orders method
which is expected to fetch some records from the database.
If i dont write a route for this method, I get the following error
when i call this method.
Couldn''t find Order with ID=pending_orders
I am using rails 2.3.5, in the previous versions i use to get this
I am not getting whether its new version requirement...
Help
2007 Jan 11
0
writing tests for rescue_action_in_public
...preciated. Thanks in advance
to everyone.
-Jason
PS: As far as routes.rb, there''s nothing in there doing any explicit
routing to my application controller or the rescue_action_in_public
method, so I don''t think that''s a factor.
--
Jason Frankovitz - jfrankov-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org
work: (310) 601-8454
cell: (415) 254-4890
AIM/Skype: jfrankov
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-t...
2005 Nov 30
2
weird errors with self-installed ruby 1.8.3 on Mac OS X 10.4.3
Hi All,
I''m hoping someone has seen this error before and can advise me.
I was having problems with Switchtower hanging, and I found a blog
posting which pointed the finger at Apple''s install of Ruby 1.8.2
(?). I downloaded ruby-1.8.3.tar.gz, compiled it with --enable-
shared, and installed it under /usr/local.
I went through /usr/bin and /usr/lib and archived away all of
2005 Jun 30
2
Find by ID plus conditions -> ActiveRecord::RecordNotFound
Hi
I''m trying to understand the AR find facilities, described here:
http://api.rubyonrails.com/classes/ActiveRecord/Base.html#M000650
I have a list of ids that I want to retrieve, but have a condition that
should restrict the list returned:
return self.find(
noteids,
:conditions => [ "(private = 0 OR (private = 1 AND user_id = ?))", userid]
)
According to the
2007 Apr 21
0
Issues with Functional Tests
I''m running rails-1.2.3 under Ubuntu 6.06, and I''ve come across a few issues
I''d like to raise.
(1) If a controller sets flash.now[:notice] = "message", then in a
functional test I don''t seem to be able to match it.
flash.inspect shows "{}" and flash.now.inspect shows
"#<ActionController::Flash::FlashNow:0xb63c4ecc
2005 Nov 10
1
Effect.BlindDown: element.style has no properties
I''m running Typo, and after a comment is successfully posted, Typo
runs this snippet of Javascript:
new Effect.BlindDown($(''commentList'').lastChild);
which throws the following error under Firefox 1.5rc1 (OSX)
Error: element.style has no properties
Source File: http://laughingmeme.org/javascripts/effects.js
Line: 754
The problem being that lastChild() is returning
2007 Jun 28
1
complete stumper: variable exists in hidden_field_tag, but nil everywhere else
This is a real mystery to me. I have an instance variable in a partial
that only gives its value inside a hidden_field_tag. If I try to use
the variable anywhere else in the partial, i either get nil or an
undefined error. The goal is to use the value of @event.id outside of
hidden_field_tag.
Here''s what works:
<%= hidden_field_tag ''id'', @event && @event.id,
2006 Oct 17
3
rake -T is missing rake db:fixtures:dump?
Subject says it all: rake doesn''t know about db:fixtures:dump. When I
try, I get this:
Don''t know how to build task ''db:fixtures:dump''
I thought this was a standard feature that ships with rake- any idea
why it''s missing, and how I can reinstall it?
Here''s the environment:
Ruby version 1.8.4 (powerpc-darwin8.6.0)
RubyGems