Displaying 20 results from an estimated 10000 matches similar to: "uninitialized constant error, help me"
2011 Jan 13
9
[RVM,Ubuntu]ruby installed from rvm doesn't work
I''ve installed ruby1.9.2 from rvm
but ruby doesn''t work on my ubuntu
there is a picture showing my situation.
plase give me a help
http://postfiles4.naver.net/20110114_51/sukury47_1294944222409RbBlv_JPEG/rvm_break.JPG?type=w3
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2010 Jun 10
1
RSpec 2: uninitialized constant - mocking belongs_to AR relation
gems/ruby-1.9.2-head/bundler/gems/rspec-
core-2398fcadf5beb256bed9c548c59445d3b4c8a047-master/lib/rspec/core/
backward_compatibility.rb:26:in `const_missing'': uninitialized
constant Message::User (NameError)
from /Users/kristianconsult/.rvm/gems/ruby-1.9.2-head/bundler/gems/
rspec-expectations-996c752171a0a0e16347e934dadc25767e31186c-master/lib/
2006 Mar 20
11
has_many brings back ''uninitialized constant''
hello. first things first - I am new to ruby on rails (ruby, too), so
I''m figuring this is just a basic newbie error.
I''m creating a basic photography website. And I have two tables with a
relationship:
photos:
- id (set up as PK)
- title
- shutter
- aperture
- date
- the_order
...etc
photo_comments:
- id (set up as a PK)
- photos_id (set up as a FK)
- author
- date
-
2008 Nov 29
3
Yet another "NameError: uninitialized constant" problem
I''ve searched for information about this and compared what I have to the
solutions I can find, here and elsewhere. I found some good and useful
information, yet my stuff still doesn''t work. I was hoping somebody here
could spot something. I''m using rails 2.1.2 and I''m pretty new to ruby
and rails.
My goal is a fairly simple many-to-many relationship linking
2006 Oct 25
12
NameError, uninitialized constant States
I''m completely new to Ruby and Rails and could use some help resolving
an issue. I have a list method that is supposed to show the titles and
states(status) of requests, but I get an error from this piece of code:
<td><%= change.states.state %></td>
The error is:
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in
2006 Apr 02
1
uninitialized constant error
Im getting this error:
NameError in Tourdates#list
uninitialized constant Tourdate
How may I fix uninitialized constant?
--
Posted via http://www.ruby-forum.com/.
2008 Apr 13
20
uninitialized constant
Hi guys, I''m part way through a RoR application, for some reason
whenever I add new controllers (using scaffold) I get an uninitialized
constant [name of controller] error.
The first few controllers work fine, the only thing I can see that I''ve
changed is the layout file (but scaffold creates a new layout for each
controller so can''t see that being the problem). You
2003 Apr 15
2
Old machine -
Hi guys
Can anyone give me any reason why BX should fail - tryig to
install FreeBSD 4.7 on an old machine from CDROM. The
machine loads a very old version of FreeBSD from hard drive
(password long forgotten) so it seems to be running OK - it
auto loads X windows - so the nachine seems to be running
fine.
Here is the output that I do not understand ;-( :
int=00000000 err=00000000 efl=00030287
2012 Feb 18
0
Rails NameError : uninitialized constant RelationshipsController
I am trying to run a test of my app buy my
relationships_controller_spec.rb file won''t run. Here''s the error I
get:
Exception encountered: #<NameError: uninitialized constant
RelationshipsController>
Here''s the code for my relationships_controller_spec.rb file:
require ''spec_helper''
describe RelationshipsController do
describe "access
2010 May 08
2
uninitialized constant - Please Help Me...
Hello everyone,
I''ve decided to take the step into creating a mini-forum for my
website where users can open new posts on exixting topics and allow
people to discuss things etc...
I am following a tutorial in the book: APRESS - Practical Rails Social
Networking Sites and have hit a minor issue.
Part of the Forum requirements is to add a moderator role to allow
only certain individuals
2002 Jul 29
0
Question from Korea
>From: "???" <souneil@team.oz.or.kr>
>To: kukyakya@hotmail.com
>Subject: Question from Korea
>Date: Tue, 30 Jul 2002 14:32:32 +0900
>
>Hi.
>
>My name is Souneil Park and i'm majoring computer science in Soonsil
University Korea.
>During this vacation, I was trying to study about your amazing project
'samba',
>and i was really surprised
2004 Jul 13
0
will digium hardware and asterisk function in asia (korea)?
I am looking at asterisk as a PBX for our import/export business which
currently has offices in the US and Korea. Asterisk seems great for our
purposes, but I'm somewhat of a telcom newbie and have some questions.
Does anybody know anything about the phone system in Korea with respect
to whether or not digium hardware and * will function the same as they
would in the states?
I understand
2005 Oct 27
0
has_one with Single Table Inheritance - NameError : uninitialized constant
I am having a problem with using SIngle Table Inheritance with a has_one
relationship, and I am at a loss of what could be causing it. Below is the
related code and the error message.
class User < ActiveRecord::Base
has_one :wishlist
end
class List < ActiveRecord::Base
belongs_to :user
end
class Wishlist < List
has_and_belongs_to_many :items, :class_name =>
2024 Jan 13
2
Strange results : bootrstrp CIs
Dear R-experts,
Here below, my R code working BUT I get a strange result I was not expecting! Indeed, the?95% percentile bootstrap CIs is (-54.81, -54.81 ). Is anything going wrong?
Best,
##########################################
Score=c(345,564,467,675,432,346,476,512,567,543,234,435,654,411,356,658,432,345,432,345, 345,456,543,501)
?
Country=c("Italy", "Italy",
1999 Apr 22
0
[Fwd: I'd like to know something about samba..]
Hello,
I'm working for HP Korea.
Nowdays, I'm installing Samba 2.0.3 version to HP-UX 11.0 32 bit version.
But unlike HP-UX 10.20, nmbd isn't invoked.
I've checked Makefile already, but this didn't seem to cause that.
In addition, I'd like to test Samba server on HP-UX as print server.
But it is difficult to find related materials and documents.
Would you let me know the
2007 Oct 15
5
Very simple code throwing "uninitialized constant" error
This code works on an older version of Ruby and Rails but not with
Ruby 1.8.6 and Rails 1.2.5. The code is so simple that I can''t figure
out where the problem is.
profile_controller.rb
class ProfileController < ApplicationController
def show
@profile = Profile.find_by_school_id(params[:id])
end
end
-----------------------------------------------------------
profile.rb
class
2010 Mar 04
1
Please help me how to make input files in Extremes Toolkit model
Dear sir/madam
?
My name is Quan, I am a PhD student in Korea. my major is Hydrological in Water Resources Engineering. I am interested in Extremes Toolkit model and I known you from information in internet.?
I?installed successfully this model but I didn't know how to make?the type of ?files input for this model such as: Flood.dat; Ozone4H.dat; Flood.R; HEAT.R.?(free download these files of
2004 Dec 07
0
OT: Two way trunks in Korea?
I've tried working through my contacts in Korea, and checking google and
the KT website, but so far I have found a lack of information about the
state of the Korean PSTN for business class two-way trunks.
It appears that I cannot get and ISDN PRI or E1, and two-way trunks are
not available. I've been lead to believe that I need two 30 channel R2
trunks to handle inbound and outbound
2024 Jan 13
1
Strange results : bootrstrp CIs
Dear Duncan,
Dear Ivan,
I really thank you a lot for your response.
So, if I correctly understand your answers the problem is coming from this line:
coef(lm(Score~ Time + factor(Country)),data=data[idx,])
This line should be:
coef(lm(Score~ Time + factor(Country),data=data[idx,]))
If yes, now I get an error message (code here below)! So, it still does not work.
Error in t.star[r, ] <-
2005 Apr 11
0
plotting Principle components vs individual variables.
Dear R,
I'm trying to plot the first principle component of an analysis vs the first
variable but am having trouble. I have no trouble doing the initial plot
but have difficulty thereafter.
First I want to highlight some points of the following data set
list(running)
[[1]]
X100m X200m X400m X800m X1500m X5K X10K Marathon
Argentina 10.39 20.81 46.84 1.81