Displaying 20 results from an estimated 10000 matches similar to: "setup/config issue"
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
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 |
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
2008 Aug 26
1
upload_column NoMethodError
Hi all,
I''m using uploadcolumn plugin for file uploading. Followed the README file.
Put "upload_column :src_file" in my model file as instructed, and i got this
NoMethodError for the upload_column. This is the full trace:
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:1667:in
`method_missing''
app/models/speech.rb:2
2008 May 16
0
attachment_fu and/or rmagick on osx -- weird error
One of our developers is getting a weird error from attachment_fu and/or
rmagick on OSX. And even weirder because he''s used attachment_fu and
rmagick on other projects without difficulty. This all works fine on
debian/ubuntu. See the stack trace below. Any suggestions?
Btw, the code that''s blowing up is retrieving the attachment_fu info.
The presence of image_science in
2011 May 14
0
Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
Hello,
I am trying to use the paperclip plugin in my rails app to upload images
for posts. I am using Rails 2.0.2 and ruby 1.8.7 on Ubuntu 10.04 os for
project specific purposes.
I am referring to the following tutorials for this :-
1. http://railscasts.com/episodes/134-paperclip?view=comments
2.
http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails.html
I did a git clone on the
2006 Dec 27
6
file upload
I ma trying to get this upload working,
http://mongrel.rubyforge.org/docs/upload_progress.html,
....after starting from the command line,
mongrel_rails start -d -p 3001 -S config/mongrel_upload_progress.conf
I get this eror in the browser,
NameError
uninitialized constant UploadProgressRailsController
RAILS_ROOT: /usr/opt/tomcat/workspace/upload/config/..
Application Trace | Framework Trace
2006 Jul 05
1
Routing error "unitialized constant" after refactoring
Hi. I''ve heavily refactored an application. When I access
http://0.0.0.0:3000/ I now get the stack trace at the end of this mail.
My routes.rb:
ActionController::Routing::Routes.draw do |map|
map.connect '''', :controller => ''user/dashboard'', :action => ''boo''
map.connect '':controller/:action/:id'',
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
2007 Feb 02
0
Error: uninitialized constant LockError
Hey Guys. So, I get this error every so often, and in sneaking at the code,
it seems that it could be an easy fix, where it''s looking for a LockError,
but I think it''s a LockException.
I''m on 0.10.13 with a very large index (about a million docs) that''s staged
on several servers, which are updated daily. (Using rails 1.1.6)
Thanks for all the hard work.
2007 Mar 10
2
upgrading rails to 1.2.2 giving me mongrel errors
I''m working on upgrading to rails 1.2.2 from 1.1.6 and getting the mongrel
error below in development mode. Now things seem to work fine with 1.1.6and
1.2.2 (in prod mode).
Any ideas what might cause this? Googling gave me very little to work
with. This was the closest thing i found
http://dev.rubyonrails.org/ticket/6716
I''m running Ubuntu with mongrel 1.0.1 and fastthread
2010 Aug 19
3
Help: "500 Internal Server Error"
Hi guys,
I am a completely ruby & rails newbie. i have being struggling on this
issue for almost 2 days, still can not figure out the problem.
there are two websites i''m trying to set up a development environment on
my pc running windows xp 32 bit version. a front-end customer facing
page & back-end admin page.
the procedure i have gone through is:
1. install ruby version 1.8.6
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>
2009 Jun 18
0
Fwd: Re: problem with ovirt-mongrel-rails on rails 2.3
temporary fix
write in ./config/environment.rb
RAILS_GEM_VERSION = '2.1.1' unless defined? RAILS_GEM_VERSION
and "gem install rails --version"=2.1.1""
> I've figured out fixes for the installer portion for ovirt on Fedora
> 11 just running into this problem currently with the
> ovirt-mongrel-rails service, It will start but there are errors in the
>
2009 Jun 18
1
problem with ovirt-mongrel-rails on rails 2.3
I've figured out fixes for the installer portion for ovirt on Fedora 11
just running into this problem currently with the ovirt-mongrel-rails
service, It will start but there are errors in the log and can't access
/ovirt in the browser. Just wanted to get some input, I've tried a few
fixes from google with no success and I'm no rails expert :)
** Daemonized, any open files are
2007 Jun 08
0
SimplaTable with error: singleton can't be dumped
Hello,
My first PDF report from rails.
When i try to render "tab.render_on(pdf)", I get that error message.
Thanks any help,
Helder
=================================================================
TypeError in ContasController#plano
singleton can''t be dumped
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
2007 Oct 23
2
Aborted (core dumped)
Hey,
When I''m trying to upload images I get this following error and my ruby
server shuts down:
Processing UploadController#new (for 127.0.0.1 at 2007-10-23 14:50:47)
[GET]
Session ID: 3c39b2b1da22bc63513f83f8ced2e93a
Parameters: {"action"=>"new", "controller"=>"upload"}
User Columns (0.002187) SHOW FIELDS FROM users
User Load
2007 Mar 06
2
Rails 1.2.2 upgrade problem
I was upgrading today from 1.1.2 to 1.2.2.
When I attempt to run the ruby script/server process now, I get the
errors below. I have looked through the
source files, but nothing obvious. The problem may be a constant which
now requires an explicit ''require filename'',
but don''t know how to find that constant.
Any help would be appreciated!
Regards,
Don McClean
**
2007 Dec 24
1
Uninitialized constant in integration test
I am seeing weird issues when trying to create integration tests. Here
is a very simple example of something that is failing. The
assert_redirected_to, and other methods, fail with this or similar
exceptions.
I have tried requiring both ''application'' and ''listings_controller'', but
neither solves this problem, although the exception changes.
Anybody know
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