Displaying 20 results from an estimated 31608 matches for "rubies".
2006 Jul 22
1
How to debug this
Hello,I get this message and I don''t know how to interprete this.I think it has to do with plural tables and singular referencesThanks for any help!Jim======================================================================================uninitialized constant SubjectRAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
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` =
2006 Jul 26
1
Scaffolding Problems
Hi.. Im a brand new ruby on rails developer, and when i make a scaffold
and navigate to the it, i get an error that looks like this.
-----------------------------------------------------------------
NameError in PagesController#list
uninitialized constant Page
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
2006 Jan 09
1
Cooky Cookies
Hi All,
I have a problem with the stemming(?) in rails. I have a table cookie and a
Cookie model which I have generated a scaffold for. The problem is that
rails starts looking for a file that it calls "cooky.rb", this must be some
kind of misunderstanding between me and rails, but how do I correct it?
Other scaffolds work just fine.
/Hugo
NameError in Cookie#index
uninitialized
2010 Apr 09
3
"We're sorry, but something went wrong"
can anyone help with this???
/!\ FAILSAFE /!\ Thu Apr 08 16:58:27 -0700 2010
Status: 500 Internal Server Error
unknown error
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in `initialize''
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in `dlopen''
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in `dlload''
C:/Ruby/lib/ruby/1.8/dl/import.rb:27:in `each''
2009 Apr 22
3
Error on running any controller- Noob question
Hi ,
I am running on Vista with webrick ...
When I generate controllers , models and views I get an error as
under.
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/
dependencies.rb:105:in `const_missing''
C:/ROR_lpapp042109/app/controllers/afflnetworks_controller.rb:5:in
`index''
I tried reinstalling but kept stumbling on this.
gem -v
1.3.2
rails -v
2.3.2
2008 Mar 27
3
Help with authentication errors
Hello,
I have been working through two books, "Agile Web Development with
Rails, 2nd Ed." and "Ajax on Rails". I''m using Rails2.0. In both cases,
I run into an authentication error when doing the examples. In AWDwR,
when trying to add new information to the database (p. 68) I get
ActionController::InvalidAuthenticityToken in AdminController#create
2009 Apr 15
0
hpricot bug?
I get an error in the hpricot-gem on Windows XP sp3. I have tested
different versions of it and combined them with different versions of
sequel (including the latest of both).
The error triggers on the line when I do: require ’hpricot’.
The line that causes the error in the hpricot-gem in the file
elements.rb (line 395) looks like this:
nth = proc { |num,i| self.position == num.to_i }
What is
2006 Jan 10
1
Cooky cookies causes trouble
Hi All,
Yesterday wrote about my troubles with naming a table and model cookies and
cookie respectively. I know that everybody hates the newbie screaming bug as
soon as he encounters behaviour he doesn''t understand. But I''ve reproduced
the error in the simplest application possible, and dare therefore say that
this quite possible could be a bug in Rails.
Database:
CREATE TABLE
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 Jan 24
1
Newbie: Cookbook Application problem with MYSQL
Hi everybody,
I''ve been reading lot of material about Ruby on Rails, and it looks like
really rocks.
I''ve downloaded the one-click version for Windows and started to build
the example cookbook app, found in:
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1
Everything looks good, but when I''m trying to create a new Recipe
2009 Jul 08
2
RuntimeError (JPEG marker not found!):
Hi,
while generating the PDF file , i am getting following error..
please help for me.
RuntimeError (JPEG marker not found!):
C:/Ruby/lib/ruby/gems/1.8/gems/pdf-writer-1.1.8/lib/pdf/writer/
graphics/imageinfo.rb:176:in `
measure_JPEG''
C:/Ruby/lib/ruby/gems/1.8/gems/pdf-writer-1.1.8/lib/pdf/writer/
graphics/imageinfo.rb:174:in `
loop''
2009 Jun 30
2
First time problem
This is the first time I am Running ruby on rails.
When running the "blog" application I got the message
"We''re sorry, but something went wrong.
We''ve been notified about this issue and we''ll take a look at it
shortly."
Then I checked the CODE\blog\log\development.log and got this:
2009 Aug 31
7
"Missing these required gems: rspec-rails" in ruby 1.9
i get the above error when running rake.
I tried switching rails 2.3.3 with 2.3.2 but it didn''t help.
here are my gems:
actionmailer (2.3.2)
actionpack (2.3.2)
activerecord (2.3.2)
activeresource (2.3.2)
activesupport (2.3.2)
builder (2.1.2)
cucumber (0.3.98)
diff-lcs (1.1.2)
hoe (2.3.3)
nokogiri (1.3.3)
polyglot (0.2.8)
rack (1.0.0)
rails (2.3.2)
rake (0.8.7)
rspec (1.2.8)
rspec-rails
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 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 Jan 31
0
warning while requiring 'net\http'
Anyone knows what''s wrong with my configuration?
Thanks
>> require ''net\http''
C:/InstantRails/ruby/lib/ruby/1.8/net\http.rb:281: warning: already
initialized
constant Revision
C:/InstantRails/ruby/lib/ruby/1.8/net\http.rb:282: warning: already
initialized
constant HTTPVersion
C:/InstantRails/ruby/lib/ruby/1.8/net\http.rb:1121: warning: already
initialized
2006 Apr 17
5
Strange question on file_column
I have met a very strange problem on file_column usage.
After I have added
file_column :image
to the model,everything is ok.
But after I added more:
file_column :image, :magick => {:versions => {
:thumb => {:size => "50*50"},
:medium => {:size => "640*480>"}}}
I can not even start the whole website! Here is the
2006 Aug 04
8
Unable to follow basic RoR tutorial (Win32)
I have just set up RoR to find out for myself if this tool is stable
enough to actually be used yet.
Anyhow, I started by going to the RubyOnRails website and following the
instructions to install the platform on my Windows 2000 PC.
"Get Ruby on Rails in no time"
"We recommend Ruby 1.8.4 for use with Rails."
So... I downloaded 1.8.4 and installed:
C:\>ruby -v
ruby
2006 Jun 14
5
uninitialized constant error after scaffold on new Windows XP environment
I am attempting to get a working Rails programming environment setup working
under XP with MySQL, RadRails and Webrick. I have been using my PowerBook
but need to working on Windows environment too.
I have basic functions of Ruby and Rails going. I created a really simple
table and generated the scaffolding. The server starts just fine. I can
browse the database succesfully in RadRails. The issue