Displaying 20 results from an estimated 6000 matches similar to: "SimplaTable with error: singleton can't be dumped"
2008 Jun 04
2
gem_original_require
Hi all,
my computer decide to take a dirt nap today so I am trying to relaod
rails on another machine and I am getting this error message which I
can''t make heads or tails about:
no such file to load -- postgres
RAILS_ROOT: ./script/../config/..
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
2007 Oct 07
10
Rails to English
I am currently using the book "Agile Web Development With
Rails" (2005). I am working on a fully function web application that
has a shopping cart.
The web page displays this,
ActiveRecord::StatementInvalid in AdminController#create
Mysql::Error: #23000Column ''date_available'' cannot be null: INSERT
INTO products (`image_url`, `date_available`, `price`, `title`,
2007 Jul 19
7
NoMethodError in partial driving me mad
Hello,
i simplified have a news model, a news category model and a news
controller.
my _news.rhtml partial renders a single news entry.
in my controller there are the actions show and show_category.
if the "show" action is called, a single news item is rendered through
my partial with no errors.
if the "show_category" action is called, i get a NoMethodError while
displaying
2008 Dec 20
3
IMAP_Authenticatable Problem
Good morning all,
I''ve been using the imap_authenticatable plugin for about a year now without
incident. All of a sudden, I tried logging in this morning and this error is
showing up in the logs. Does anyone have any idea what could be causing this
or how to fix it?
Thanks,
Pete
NoMethodError (undefined method `disconnect'' for nil:NilClass):
2007 Jun 25
2
undefined method `each' for ***:Class PROBLEM
Hi,
i am very new to ROR, this is my 2nd day since i solve the problem of
database connection. when i started to write some codes, i got stuck.
here is the situation and please give me some help.
i have a "posts" table in my database
CREATE TABLE `mapapp`.`posts` (
`id` int(11) NOT NULL auto_increment,
`title` varchar(255) default NULL,
`body` text,
PRIMARY KEY (`id`)
)
2007 Aug 06
4
problem with rails_root
Hi everybody,
I used a openseradmin who is based on rubygem (i suppose ), so when i
start my server of this openseradmin in the http://localhost:3000, i
reciceved some messages like this:
SocketError in LoginController#login
getaddrinfo: Name or service not known
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
2007 Jul 18
3
Help. Acts_as_Authenticated plugin stops working for me?
Hi,
I successfully installed AAA couple days before, and i managed to
register a uer with it, with no user activation.
but for some strange reason, it stops working for the signup method,
with i go to the signup page, press submit, it shows an error page,
what''s wrong? here''s the error page.
undefined method `activation_code'' for #<User:0x3b6dbd
2007 Oct 24
7
NameError in CustomersController#index
I''m new to Rails. I finished the Cookbook tut. no problem. I''m
trying to start a project of my own, follow the same instructions but
the difference is I created the database myself.
After I create the scaffolds and try them out I get this error
NameError in CustomersController#index
uninitialized constant Customer
RAILS_ROOT: ./script/../config/..
Application Trace |
2007 Mar 24
0
overloading to_json with JSON gem installed causing error
I installed the JSON gem because I wanted the JSON parser.
Before installing the JSON gem, overloading worked fine. Before I
remove it, I''d like to see if anyone has an idea of what is going on.
It''s the only JSON parser I''m aware of, so it would be a bummer if it
didn''t work.
After installing, if I overload the to_json method in the class, it
gives me the
2008 May 07
1
Actionwebservice
I am just learning some about web service. But many guys still use
Java (Jws). But I wanna try ROR. There are less information about it.
I can''t get install plugin in the ROR 2.0.x. So I followed the
standard textbook("Agile_Web_Development_With_Rails-2nd" and "Ruby on
Rails for PHP and Java Developers") I almost finished it. However, I
can''t find my api
2006 Nov 20
5
RMagick load problems?
I have a page (model: daily_progress_chart) that uses RMagick and
ImageMagick to create a chart using RVG. A few days ago (after some
updates to Rails), this chart stopped working on both my development
machine (MacBook Pro) and the production server (Gentoo Linux). I get
the following error messages. I am totally lost, but I assume that there
is a problem with RMagick. Any ideas anyone?
On
2007 May 30
2
ActionView::TemplateError
Hi,
I have a strange problem that only occurs on the production server.
I''ve been banging my head for hours trying to figure it out with no
success. Below is a copy of the error from the production log.
ActionView::TemplateError (Expected /www/rails_apps/scanlan/current/
public/../config/../app/models/image.rb to define Image) on line #6 of
app/views/admin/design/_record.rhtml:
3:
2007 Oct 29
2
error message after upgrading to Gusty Gibbon Ubuntu
I have started to get the error message "wrong number of arguments (1
for 0)" since I upgraded to Gusty Gibbon.
I am new to ROR so I have no clue.
This is the code that was running
def create
@user = User.new(params[:user])
if @user.save
flash[:notice] = ''User was successfully created.''
redirect_to :action => ''list''
else
2007 Sep 07
4
Ferret DRB - can add/edit index, but can''t search
I''m trying to use the Ferret DRB server to avoid concurrency issues when
using multiple mongrels. I can successfully add and edit data on my
index via the DRB server, however, when I search the index, I get the
following error:
DRb::DRbConnError (DRb::DRbServerNotFound):
/usr/lib/ruby/1.8/drb/drb.rb:1647:in `current_server''
/usr/lib/ruby/1.8/drb/drb.rb:1709:in
2007 Jun 11
3
ActiveRecord::StatementInvalid error
Hi,
I have an application that is running fine on two different machines,
but when I ported the code to a third machine, it doesn''t seem to
work. More specifically, for users with a significant amount of info,
it seems to stop working. All the functionality seems to be working
properly on a small test set, but with a larger set I get the
following error:
AssociatedAp Load (0.000000)
2007 Jan 22
0
rail 1.2.1: Fireruby exception with firebird
Rubyonrails application which was working fine with rails 1.1.6,
fireruby and firebird 1.5.3 does not work with rails 1.2.1. The error
is reproduced below. Could not get over this problem. Any help coming
through? Thanks in advance.
ActiveRecord::StatementInvalid in
TimekeeperadminController#authenticate
FireRuby::FireRubyException: Error preparing a SQL statement.
Dynamic SQL Error
SQL error
2007 Oct 24
8
validates_confirmation_of not working
Hello to everyone,
Well, very frustrated with this one because I am following the example
straight from the documentation and it is not working.
First when I try:
validates_confirmation_of :password, :on => :password_update
(password_update is a def in my User model which works fine without
this validation in please)
I get the following error:
TypeError in UsersController#update_password
2007 May 10
5
Segmentation fault on large index
I''m getting a segmentation fault on a large index (15GB). I''m running
ferret 0.11.4 on OpenSuSE 10.2 with ruby 1.8.6. The segmentation
fault appeared after I optimized the index, see further below for the
error message I got before that. Ferret works perfectly on other (smaller)
indexes.
Is this a known issue, and if so, is there a workaround?
--------------------- after
2007 Apr 21
0
Auto_complete
Hi Guys,
Am building an app in rails1.2.1 and wanted to use the auto_complete.
So i have it set out as follows.
# view
<%= text_field_with_auto_complete :contact, :first_name %>
# controller
auto_complete_for :contact, :first_name
But this is all l get
NoMethodError in ContactsController#index
undefined method `auto_complete_for'' for #<ContactsController:
0x3384570>
2006 Nov 04
0
headers[''Content-Type''] & link_to_remote on Rails Edge
I''m on rails edge and am calling an after filter on my actions. Works
except for my ajax calls via link_to_remote. When I inspect headers,
I see the ''Content-Type'' is key for an object rather than a string.
Shouldn''t it be a string? Anyone know if this is a bug or if I''m
dealing with this incorrectly.
Thanks,
Jamie
The code:
after_filter