Displaying 20 results from an estimated 8000 matches similar to: "Anyone see similarly inconsistent code generation errors?"
2006 Feb 14
1
ArgumentError in <controller not set>#<action not set> ??
Has anyone ever seen this before? It doesn''t happen n a predictable
manner, and can occur via different controllers. Someone else posted
about this back in December but no one replied. I''m completely stumped!
Here is the text, thanks.
ArgumentError in <controller not set>#<action not set>
undefined class/module CustomerDomain
RAILS_ROOT: script/../config/..
2006 Mar 28
0
MySQL problems and undefined class User
Hello
I''m having some issues with MySQL losing it''s connection, or undefined
class User on Windows XP. I use Login and UserEngine. Rails 1.0/1.1,
MySQL 4.
MySQL problem (one of them):
Mysql::Error: Lost connection to MySQL server during query: UPDATE
sessions SET `data` =
2005 Jul 07
1
Rails 0.13 failing on Win XP
Hi all,
Since 0.13 just got out, I decided to live a little on the edge and
upgraded my working 0.12.1 Rails apps to 0.13. Which made them crash
with a bang!
After a little investigation it looks like even a fresh app will crash
with a message: "allocator undefined for proc"... I''m on Win XP,
everything was fine under Rails 0.12.1
Any help would be highly appreciated.
--
2006 Jan 04
3
Intermittent problem with link_to_remote()
Hi folks,
My page displays links for ''categories'' using the link_to_remote()
function. Clicking on one of these links goes to the controller and
returns any child categories. I''m finding that the page works ok but
after a number of clicks (average 5 or so), it crashes with an error:
==============================================
Processing Base#index (for
2005 Jul 05
0
Strange behavior on windows
Folks,
Excuse me if this is obvious. I have done a google but haven''t found
anything.
I''m just going through the Ruby on Rails book and installed the software
from the SVN server as it mentioned that a lot of things in the book won''t
work with the current stable release.
I started with the Depot example and ran:
>ruby scriptgenerate scaffold Product Admin
2006 Aug 10
2
Software caused connection abort
Hi Zed or anyone that is also looking at Mongrel,
Just want to report something that, although doesn''t crash mongrel, is
rather annoying.
I am running the latest Mongrel 0.3.13.3 - ruby version on cygwin
(yeah, poor me). When I start mongrel_rails with
ActiveRecord::Base.allow_concurrency = true in environment.rb, I see a
lot of
"Error sending file
2010 Dec 10
0
Encoding issues when uploading files
Hello everybody,
I have some troubles with uploading files in my Rails project.
I use Rails 3, Ruby 1.9.2, rack 1.2.1, and both webrick / passenger on
apache
I was investigating and have isolated the strange behaviour on a
simple empty project:
view:
<% form_tag({:action => ''upload''}, :multipart => true) do %>
<%=text_field_tag :desc %>
2006 Oct 03
0
rs.recognize_path "/home" is not working in script/console
My application runs fine.
I just want to change a few routing rules and I decided to test using
script/console. But I''m getting following error.
Loading development environment.
>> rs = ActionController::Routing::Routes
>> rs.recognize_path "/home/index"
TypeError: can''t convert Fixnum into String
from
2012 Feb 29
1
can't convert Fixnum into String in relativity
good day i read about relativity gem but when i try to use it and make
a test file and build it gives me an error
=test.rb=
<pre>
require ''relativity''
opens_at = DayTime.new(9) #=> 09:00:00
closes_at = DayTime.new(12,30) #=> 12:30:00
</pre>
<pre>
/home/start/.rvm/gems/ruby-1.9.2-p290/gems/relativity-0.0.8/lib/
relativity/day_time/new.rb:24:in
2006 Jan 19
3
-517611318:Fixnum ... WTF?
I''m getting occasional errors that look like:
Some method called for -517611318:Fixnum
The method is constantly changing, and this error happens on ~5% of
the page loads on my Mac Tiger development box. It''s happening on
Ruby 1.8.2, and 1.8.4 compiled from source. I haven''t seen it on my
Linux production boxes. I was wondering if anyone had seen this
before?
--
2013 Feb 10
0
Nested attributes doesnt get updated
Hi
Am building a nested form and my code works fine with sqlite3 but throws
errors when using Oracle during update action.
Am getting the following error:
ActiveRecord::RecordNotFound in AWRequestsController#update
Couldn''t find WADetail with ID=5000000015 for AWRequest with ID=5000000022.0
Request
*Parameters*:
{"utf8"=>"✓",
2009 Jan 16
1
Aggregation: problem with uninitialized composed_of object
Hi,
I''m getting this error:
>> p = Plan.new
>> p.amount
TypeError: wrong argument type String (expected Fixnum)
Apparently this happens because the aggregation isn''t initialized.
Here''s the code:
class Plan < ActiveRecord::Base
composed_of :amount,
:class_name => "Money",
:converter => Proc.new { |s|
2006 Jan 08
3
Family Connection 1.1.2
== What is Family Connection? ==
Family Connection is an easy-to-setup online hub for your family that
includes a Family News section with Photos, and an Address Book.
For more information, visit http://familyconnect.rubyforge.org/
== Downloads ==
Latest:
svn checkout svn://rubyforge.org/var/svn/familyconnect/trunk
Version 1.1.2:
svn checkout
2005 Nov 02
1
Windows, Segmentation Faults, config.load_paths and config.cache_classes
I am doing some testing with the rails trunk, version I switched to
because of memory leaks in 0.13.1 under linux environment.
Right now the application is running fast and steady under linux, with
no memory leaks using SCGI Rails Runner 0.4.3 from Zed, BUT it has
become unusable under Windows (our main development environment) where
I am getting a lot of segmentation faults.
BUT the problem
2005 Jul 29
0
Fwd: Products and mod_rewrite
It appears this message bounced somehow, so I''m resending. Apologies
if it is a dup.
Begin forwarded message:
> From: Duane Johnson <duane.johnson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Date: July 29, 2005 8:59:30 AM MDT
> To: Steve Sloan <steve-2FdKsI0tZ45AfugRpC6u6w@public.gmane.org>, rails-1W37MKcQCpIf0INCOvqR/pqQE7yCjDx5@public.gmane.org
> Subject: Re:
2006 Aug 05
4
file_column just will not work...
Hello,
I have been trying for some time to get a file to upload using the
file_column plugin.
My code is here: http://pastie.caboo.se/7304
But my code is not the issue. I cannot even pass the unit test that
come with the file_column plugin.
If I run ruby file_column_test.rb i get:
1) Error:
test_store_dir_callback(FileColumnTest):
TypeError: can''t convert Fixnum into String
2011 May 21
4
request.format = :mobile causes error "undefined method `ref' for nil:NilClass"
I have a strange problem with setting request.format = :mobile
I can reproduce this problem on a completely fresh Rails 3.0.7 app
with no special gems. This seemed to work well in Rails 2 but for some
reason is hiccuping here, not sure what''s different in Rails 3 that
makes this hiccup. If you look at the stack track, it doesn''t even
pass through my app stack once -- weird --
2007 Jan 29
0
Rails trunk breakages
Anyone else having an issue with route-generation in specs breaking as
of Rails trunk r6062? When I run my specs at r6061, they all pass, and
in 6062 I get a trace like this every time my controller generates a
route:
TypeError in ''Requesting /artists/1 using PUT should redirect to the artist''
can''t convert Fixnum into String
(eval):19:in `artist_url''
2006 Mar 23
0
Win32API patch?
Hi all,
Passing a Fixnum when you should have passed a String (pointer) causes a
segfault in Win32API.
I''ve already reported this on RubyForge (Bug #3904):
require ''Win32API''
RegFormat = Win32API.new(''user32'', ''RegisterClipboardFormat'', ''P'', ''I'')
RegFormat.call(1) # Boom!
I''ve traced the
2007 Jun 21
0
[ wxruby-Bugs-11747 ] Segfault if unexpected type is returned by some director methods
Bugs item #11747, was opened at 2007-06-21 15:37
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=11747&group_id=35
Category: Incorrect behavior
Group: None
Status: Open
Resolution: None
Priority: 2
Submitted By: Alex Fenton (brokentoy)
Assigned to: Alex Fenton (brokentoy)
Summary: Segfault if unexpected type is returned by some director methods