Displaying 20 results from an estimated 10000 matches similar to: "Weird exception"
2006 Nov 04
0
Marshal Data Too Short Error
I am using Ruby 1.8.2 on WinXP and am receiving a "Marshal Data Too Short"
error. I havent been able to repeat the error as it seems to happen randomly
in my rails program. However, the version of Ruby I''m using already has the
file.binmode lines outlined in:
http://wiki.rubyonrails.com/rails/pages/MarshalDataTooShort.
If possible I''d like to avoid switching to active
2006 Aug 26
1
Marshal Data Too Short Error
I am using Ruby 1.8.2 on WinXP and am receiving a "Marshal Data Too
Short" error. I havent been able to repeat the error as it seems to
happen randomly in my rails program. However, the version of Ruby I''m
using already has the file.binmode lines outlined in:
http://wiki.rubyonrails.com/rails/pages/MarshalDataTooShort.
If possible I''d like to avoid switching to
2006 May 18
1
Unnecessary Gem modules loaded under Rails 1.1.2
All,
Rails 1.1.2
Win XP Pro
Rubyful Soup 1.0.4
htmltools 1.0.9
I am terribly confused as to what pulling in a gem does with respect to
how many modules get loaded at runtime.
I am using two gems in my app, Rubyful Soup and htmltools.
RubyfulSoup requires one module from the htmltools gem
(html/sgml-parser).
My app requires the RubyfulSoup gem.
When I started my app, something was causing
2006 May 18
5
Uninitialized Constant in scaffold list page
I''m new to Ruby on Rails and just trying to get it up and running. I''m
using RadRails, but I don''t think that matters for this problem.
I''ve got a very basic app with one table and I used the scaffold
generator for a table called datedgoals. The new page works fine, but
then when it switches over to the list page, I get the errors below. Any
idea how to fix
2006 Jun 22
0
validates_presence_of with a Date
Hi,
I''m seeing a strange error when I use validates_presence_of with a date
attribute
validates_presence_of :closing_date, :user, :product
When I remove :closing_date it works fine.
The stack trace and error is as follows:
ArgumentError in BuyController#home
wrong number of arguments (1 for 0)
2006 May 22
4
RMagick gem problem using Rails and possibly WEBRick...
Hello, I am new to rails but have been having fun so far. Until now.
I
am sure this is just my inexperience but I have the RMagick gem (ruby
gem
for using imagemagick manipulation) installed on my machine that I
would
like to then use in my rails app. I first installed it and tried it
out,
and it didnt do anything for me, took me a while to realize I needed
the
windows RUBYOPT
2009 Feb 28
0
activerecord-odbc-adapter 2.0 failed to allocate memory
I''m currently trying to connect rails to a legacy SqlServer database. System
is windows XP and my attempts to connect with activerecord sql adapter and
ADO.rb file failed miserably (I wrote a mail about it before)
So it seems like odbc adapter is more recent compared to sql adapter and
probably more used. I''m using active_record_store as session store, and
probably the first
2006 May 14
1
send_file, RRDtool, require or session problem
Hi all,
I am new to RoR and ruby, but am a very experience PHP developer. Let
me give an overview of the problem.
I have a model Latency, which contains username, graph_name so the
logged in user can see his/her latency graphs.
In my ViewController I have a fuction view_latency which pulls the
correct latency object and runs latency.overview. latency.overview
creates a .png file in /tmp, and
2006 Jul 01
0
Paypal IPN Gem
Having some problems. Using instant rails 1.3 updated with to rails
1.1.4. Gem Paypal and Money gems are installed. Also installed the
plugin paypal, I see it in /vendor/plugins/paypal and restarted the
server. I posted my error at the bottom. Any Ideas?
Thanks Kindly
-Ryan
# I have a controller called byc, in it I have this action.
def create
@registrant =
2006 Apr 01
3
permission denied creating ruby sessions
My code was working, and I upgraded to Rails 1.1, and it seemed to be
working after that, but then I suddenly started seeing the following
error:
Permission denied -
/home/will/office/public/../config/../tmp/sessions//ruby_sess.c7da2e7df8df77df
/usr/lib/ruby/1.8/pstore.rb:289:in `initialize''
/usr/lib/ruby/1.8/pstore.rb:289:in `transaction''
2006 Apr 05
0
problem upgrading app to RoR1.1
Hi,
I need some help when upgrading one aplication made on rails1.0 to
rails1.1
I have the application on a debian sarge i upgrade ruby gems to 1.1 and
ruby to 1.84 and make an freeze on proyect folder, but when i try to run
the application in production mode gave me these errors:
[Wed Apr 05 13:49:09 2006] [error] [client 99.5.0.45]
file
2006 Sep 04
5
uninitialized constant BooleanClause
I''ve installed the latest Win32 gem and the acts_as_ferret plugin (i
checked out the files and placed them in the vendor/plugins directory).
When I try to search I get the following error:
uninitialized constant BooleanClause
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
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 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 Aug 08
2
"include DRbUndumped" error
Hi,
I am getting my hands on trying the cool BackgrounDrb plugin.
Following various discussions and suggestsion, I included "include DRbUndumped"
in my ActiveRecord model. However, the following exception occurs
after I tried this and hit the page that uses this model. Does anyone
know why this is so? Is it possible that an object cannot be
DRbUndumped (that would mean, we
2006 Mar 08
6
GD error...
Hi!
I''m new in ruby/rails programming and i have a small problem.
I have installed InstantRails 1.0 (for Ruby/Rails/Mysql/Apache envs) and
I''m trying to make a small app working. I''m using auth_generator for
making a login page/users admin pages... and I have a problem when
trying to CHANGE the avatar for the user.
I have the following error:
MissingSourceFile
2006 Jul 12
0
Strange error
Has anyone ever experience this error? I''m not sure where to trace it
back to.
Showing
usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/templates/rescues/_request_and_response.rhtml
where line #40 raised:
wrong number of arguments (1 for 0)
Extracted source (around line #40):
37: <p><b>Parameters</b>: <%=h request_dump ==
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 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 Apr 26
0
Re: gSOAP and ActionWebService interop problems
I am experiencing a similar problem, not with gSOAP, but with
Apache''s SOAP library. Just like Guido, XML-RPC works perfectly, but
the SOAP request processing fails during protocol discovery. Rail''s
SOAP client also works perfectly, so I''m fairly certain the error is
not in my code.
I am new to both ActionWebService and the Ruby XMLRPC module, so I''m