Displaying 20 results from an estimated 5000 matches similar to: "Routing error"
2006 Jun 27
1
Errno::EINVAL: Invalid arguments - IE crash
Hi,
When I run my app on IE, it crashes everytime. However, when running
on Firefox, it is perfectly fine. I saw the following error on the my
server.
[2005-11-15 10:45:20] ERROR Errno::EINVAL: Invalid argument
c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:325:in `gets''
c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:325:in `__send__''
2006 Mar 20
1
RJS & IE Woes
Hi,
I''m trying to do a very simple slide_down effect with RJS templates.
Basically a user selects a check box and a text box slides down.
This works great in firefox, but causes IE to crash. The text box appears
and slides down. Then the browser crashes.
the in the partial is
<div id=''forklift_div''>
<label for=''incident_forklift''>Was
2006 Feb 16
1
file_column problem
I cannot get the file_column plugin to work. Probably something stupid
I am doing wrong as I am pretty much a newbie...
1. I added a varchar column to my table called "image"
2. This is my class:
class User < ActiveRecord::Base
file_column :image, :magick => { :geometry => "80x80>" }
attr_accessor :new_password
... rest of class
3. In my controller I
2006 Feb 22
0
Can you make an HTTP request inside an Ajax action?
I have a regular controller action which, when called, makes an HTTP
GET request to another server. That works fine. I''d like to throw
that inside an action called with link_to_remote, but that''s having
problems. The error I get follows. Any ideas?
Pat
http://localhost:3000/main/ -> /javascripts/prototype.js
[2006-02-22 06:08:11] ERROR ThreadError: timeout within
2005 Nov 22
2
Error messages: relative paths seem weakly handled?
I create my rails app, with modifications to the default from a script.
Having had to upgrade rails once, and knowing that this is likely to
happen again because of the rapid updating of rails, it seems the
most sensible way to do it. As a result, I often do
/bin/rm -rf csestore
and then run my script from another window to repopulate it.
So naturally, to save having to cd into csestore, and
2006 Jan 24
1
Newbie: Cookbook Application problem with MYSQL
Hi everybody,
I''ve been reading lot of material about Ruby on Rails, and it looks like
really rocks.
I''ve downloaded the one-click version for Windows and started to build
the example cookbook app, found in:
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1
Everything looks good, but when I''m trying to create a new Recipe
2006 Jan 21
2
flickr demo
hi --
i''m a beginner to rails, so thanks for your patience.
i was following the flickr video demo step-by-step
(http://media.rubyonrails.org/video/flickr-rails-ajax.mov).
i''m using ruby 1.8.2 on mac OS X.
i keep getting this error message after typing in a tag and submitting the
form:
ArgumentError in Flickr#search
wrong number of arguments (1 for 0)
RAILS_ROOT:
2005 Dec 18
0
Couldn''t find Login with ID
Hi,
I am a lerarner and i Am getting this problem when I try to delete.
I am not able to understand what is this ID and why its like this.
Any one explain me what does it mean and how to solve this . This is as also
with show/edit.
Thanks in advance
Couldn''t find Login with ID=30640940
RAILS_ROOT: ./script/../config/..
2006 Apr 10
0
TaskThis undefined method `remembrall_expires'' for #<User:0x
This happens before each login attempt.
Please note that if I click on the refresh button of my browser I then
login succesfully.
Any hint?
--
fabio vitale
NoMethodError in AccountController#login
undefined method `remembrall_expires'' for #<User:0x351f238>
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
2006 Jun 23
0
Date class giving errors
Any time I try to use any methods of the Date class, I get errors of
''invalid date''. For example, I have this happening:
With the code Date.today, I get this error from Rails:
- - - - - - - - - -
ArgumentError in Student#show
Showing app/views/student/show.rhtml where line #10 raised:
invalid date
Extracted source (around line #10):
7: <p> <%=
2006 Jan 06
5
Routing problems - Apache proxy vs. Webrick direct
I dropped the use of fastcgi because I could not get popen working (see
''[Rails] Apache2 and popen''). It works under WebBrick. Since CGI is too
slow, I thought I''d proxy to WebBrick via Apache.
I am having routing problems now with escaped slashes in the URL.
Here''s my routes.rb:
map.connect '''', :controller => "wiki"
2006 Jan 15
0
OS X Rails - Nuby
OK, I''m diving into new things - a .net programmer and windows user
trying to develop in Rails on my Mac. Initial setup was easy, and I had
things working and was thrilled with myself. Then I shut down. Next
time I booted up, mysql was acting all kinds of funny. I finally got
that working again (I *think* it mostly had to do with me not having the
right path, I unfortunately
2006 May 30
0
Problems when applying search to filter rows.
Hello,
I am trying to create in the main Layout of the application fields of
selection of fields of the model, and other to insert its value. Next I put
a search button, with the idea to leak by the search in the view of the
model where it executes this button. I have generated the views with
ajaxscaffold.
I do not know if what I try to do it does of this form or another one.
My code is the
2006 Jan 15
2
Please help - Rails hanging on mysql connection
Trying to get Rails and mysql running on OS X, and I''m a Nuby.
Everything ran smoothly when I first installed, but after rebooting
things were out of whack. I finally got back into mysql after
re-installing, and at first when I tried to connect with Rails/Ruby I
got a message that my client was not up to date. So after reading some
info online, I set my mysql passwords with
2006 Jan 10
0
Error: "wrong number of arguments" in initialize_template_class
Hello all,
I am being hunted down by this error. When it starts, it happens on
every URL:
wrong number of arguments (3 for 0)
----------------------- Stack trace -------------------
D:/software/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:825:in
`initialize''
2006 Apr 17
7
Action Controller: Exception caught
Hi, I''m running the cookbook example from ONLamp.com. I have tried to
test my site and it comes up with the the message on the site:
ActiveRecord::StatementInvalid in RecipeController#index
Mysql::Error: Lost connection to MySQL server during query: SHOW FIELDS
FROM recipes
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
2006 Jan 15
0
Newbie: undefined method `body=''
I''m new to rails and am trying to set up a many-to-many relationship
between questions and possible answers. I have the questions side set
up, and am able to display the range of answers with checkboxes, and
it''s all working well, but when I try any of the CRUD operations (edit,
new...) on the answers side I get:
undefined method `body='' for
2006 Jan 11
6
Help -- NoMethodError in
Hi,
I am just learing Rails and I am going through the Agile Web Development
with Rails book. I am receiving:
NoMethodError in Store#add_to_cart
undefined method `add_product'' for #<StoreController:0x3764d80>
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
#{RAILS_ROOT}/app/controllers/store_controller.rb:12:in `add_to_cart''
2006 Apr 21
3
Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
Hi
I am a newbie to Ruby on Rails, but experienced in programming.
I am trying out Rolling with Ruby on Rails article by Curt Hibbs on
onlamp.com. I have encountered following error:
Called id for nil, which would mistakenly be 4 -- if you really wanted
the id of nil, use object_id
I searched the archives of the list and found that similar
question was left unanswered. I do understand from
2006 Mar 21
2
Rails newbie can''t initialize a new Paginator object
Hi all,
I''m using ruby 1.8.2-15 and a recent rails 1.0 download.
I''m trying to implement the Classic/Custom pagination in a list action.
Here''s my code:
def list
getSearchTerms
# NOTE: @params[:search_results] is an Array of product_data objects
# returned by a search action.
@results = @params[:search_results]
if @results.nil? then
# The default