similar to: ArgumentError (interning empty string)

Displaying 20 results from an estimated 9000 matches similar to: "ArgumentError (interning empty string)"

2007 Aug 23
0
"interning empty string - (ArgumentError)" passing AR objects between workers
Hi all, I need some help with this setup I am trying to get working with BackgrounDRb: An autostarted "dispatcher" worker runs every minute and polls some table for jobs that need to be run at that time. For each job found, the "dispatcher" spawns a "runner" worker that runs the job. So in my "dispatcher" worker, I have some code like this:
2007 Aug 24
0
ArgumentError: interning empty string and enum-column plugin
Hello, I am a developer who has just started working on a large scale website in a team of 5 other developers. One of the developers has introduced some enum columns into the the database. Now, by default, active record doesn''t support enum column types but I have added the enum-column plugin into our project. This has worked very well except for a few instances where he
2008 Oct 14
4
replace_html not working
hallo, everyone can anybody help me? i did add my code under ENGINES as a module in a project. before the change , all worked . and the differenz between both is only about application''s environment, before is Ruby version 1.8.6 (i486-linux) RubyGems version 1.1.1 Rails version 2.0.2 Active Record version 2.0.2 Action Pack version 2.0.2
2010 Apr 05
1
`test': wrong number of arguments (1 for 2) (ArgumentError)
Hi, Im trying to change the syntax of my tests to the test "some method" do ... end syntax from the existing def test_some_method ... end syntax. Im pasting my test code below. Im getting the error in the subject line if I try to run the test as a ruby script from the console. require File.dirname(__FILE__) + ''/../test_helper'' require
2009 Aug 28
0
get this error: "A copy of * has been removed from the module tree but is still active!"
Hi, In one of my javascript functions I do two consecutive GET (ajax) requests in quick succession. I get the following error in Rails version 2.3.3 but not in 2.3.2. If I give a time lag (even 500ms) between to two requests the problem vanishes!!: ---- ArgumentError in StudentsController#index <pre>A copy of StudentsController has been removed from the module tree but is still
2009 Sep 25
3
NoMethodError : undefined method `stringify_keys!' for "2":String
Hi, I have been trying to create a small Rails application. In one of the steps, I am facing this error as "NoMethodError in ContactController#update ...... undefined method `stringify_keys!'' for "2":String". Let me give a brief description of the application. This application is to Create, View and Update contacts. The problem came when updating a record.
2010 Apr 30
0
Netbeans - Malformed version number string mswin32 (ArgumentError)
History... before it went to heck... I have been working a project in Netbeans for a month. I did a gem update outside of Netbeans while I was installing ImageMagick and RMagick... I also had to remove one verson of ImageMagick to use the one compatible with RMagick. Everything was working well... then I went to migrate my DB back to start fresh again and I got : Malformed version number
2008 Nov 02
1
ROR Ubuntu 8.10: Action Controller: Exception caught
System: Virtual Box running Ubuntu 8.10 as guest Fellowed ( http://wiki.rubyonrails.org/rails/pages/RailsOnUbuntu ) to instal RoR Book: Agile Web Development with Rails: Second Edition Issue: (pleas help) I''m creating a simple hello world application as defined on pages 36-40. Generating controller called ''Say''. How to I fix issue below? it returns this error rather
2006 Feb 28
1
ArgumentError (string contains null byte) -- file upload problem
Hi, Controller code: if params[:main_image] image = Image.new image.blob = params[:main_image].read @product.main_image.destroy if @product.main_image @product.main_image = image end When I try to display the image using send_data, I get the following error: ArgumentError (string contains null byte):
2010 May 10
1
Rails/mongrel/httpd issue - F13, rails 2.3.5
Hi, I have an issue with mongrel and rails. I add -B option(debug) to mongrel_rails in /etc/init.d/mongrel-rails but it didn't display more logs : http://ovirt.pastebin.com/N5v94cTu This is the page I get when I try to reach the ovirt web interface, I see the html tags (kerberos auth is working) : <html><body>You are being <a
2009 Jul 29
0
Problem uploading file to database mysql blob field
Hi All, Please help me ,I need to look into this issue asap, I need to change the redmine functionality of uploading files to disk to upload them to database. I tried suggestion on http://dizzy.co.uk/ruby_on_rails/contents/store-file-uploads-in-database but no luck , My form is multipart but still getting the error. Please bare with me I am new to ruby and rails. Here is the like for my
2010 Jan 11
0
FAILSAFE error when attempting custom POST - How do I fault find for this?
Hi, I''m creating the file upload code in a C# web form to upload to my Rails app. When I start the upload I get the following error on my Rails server? Any ideas how I can fault find here? It could be the case the HTTP post I''m creating has a problem (it'' multipart, with a file upload + some form parameters) however it''s hard to tell from Rails what it is
2008 Feb 15
1
Socket read returned insufficient data
In the several months I''ve been using Mongrel, I''ve experienced two crashes. Both were immediately following a "Socket read returned insufficient data" error from HTTPRequest. Both times, the mongrel process would hang indefinitely (and not respond to requests) untill manually killed. The first instance references a line where I was using
2011 Nov 29
1
Error in ROR App
hi all, i am new to ROR,I have one ROR app developed in old version i upgrade it with following version: RubyGems Environment: - RUBYGEMS VERSION: 1.3.2 - RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] - INSTALLATION DIRECTORY: D:/Ruby/lib/ruby/gems/1.8 - RUBY EXECUTABLE: D:/Ruby/bin/ruby.exe - EXECUTABLE DIRECTORY: D:/Ruby/bin - RUBYGEMS PLATFORMS: - ruby -
2007 Dec 19
3
Trapping custom exceptions in merb 0.5.0
Hi, I have the following setup: class Fred < Application class InvalidKey < Merb::ControllerExceptions::Unauthorized; end def blee raise InvalidKey unless key end end I have added a view exception template in views/exceptions/invalid_key.html.erb but I am not seeing the exception page being rendered ?? The request seems to correctly go to
2011 May 19
0
Unable to find the image path via file system using the paperclip plugin through the get method
Hello all, with great difficulty , I guess I have finally been able to find the appropriate git commit of paperclip which would suit my project''s config which is Ruby 1.8.7 and rails 2.0.2. I am trying to implement a POC before I integrate paperclip in my project. The POC is basically implementing each post with an appropriate image beside it. It seems to pretty much work, its just
2008 Jun 30
1
Help with form_for
Hello, I had an app running on RoR 1.1, now I''m migrating it to 2.1. In a view I have: <div id="user_management"> <fieldset> <legend>Please log in</legend> <% form_for(:user, :url => sessions_path) do |f| %> <p>Username: <span class="notice"><%= flash[:notice]%></ span></p>
2008 Apr 13
8
Brand new to rails: can't get databases to work
Just starting to learn rails. All is going well, until I tried to hook up a database. "undefined method `model'' for ZingerController:Class" is the message I get from the server. I imagine I''ve left something out that is keeping me from connecting to the database, but I''m not exactly sure what. Your help is appreciated. bests, -rsr- session dump:
2009 Dec 21
3
beginner problem
Hi, I´m starting using rails. I have one problem. I create a controller, the code is the next: class PlayersController < ApplicationController scaffold:player end I did all the things that I suppose to do, but a problem appears when try to open my webpage application. The error is the next NoMethodError in PlayersController#index undefined method `scaffold'' for
2010 May 06
0
Problems using exception_notification 2.3.3.0
Hi. I am using rails 2.3.5 I just installed exception_notification 2.3.3.0 using ''sudo gem install exception_notification'' I have add config.gem "exception_notification" in environment.rb and ''include ExceptionNotification::Notifiable'' in application_controller.rb Now I am trying it out in development environment. It seems to catch my exception