search for: ruby

Displaying 20 results from an estimated 31608 matches for "ruby".

2006 Jul 22
1
How to debug this
...rete 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 c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `const_missing'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:131:in `const_missing'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/i...
2006 Mar 28
0
MySQL problems and undefined class User
...5367'', `updated_at` = ''2006-03-28 16:01:21'' WHERE id = 963 Undefined class problem: ArgumentError in <controller not set>#<action not set> undefined class/module User RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/session/active_record_store.rb:81:in `dump'' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/session/active_record_store.rb:81:in `marshal'' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/a...
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 | Fram...
2006 Jan 09
1
Cooky Cookies
...? Other scaffolds work just fine. /Hugo NameError in Cookie#index uninitialized constant Cooky RAILS_ROOT: ./script/../config/.. Application Trace <http://localhost:3001/cookie#> | Framework Trace<http://localhost:3001/cookie#>| Full Trace <http://localhost:3001/cookie#> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib...
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'' C:/Ruby/lib/ruby/1.8/dl/import.rb:27:in `dlload''...
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 ruby -v ruby 1.8.6 (2008-...
2008 Mar 27
3
Help with authentication errors
...9;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 ActionController::InvalidAuthenticityToken RAILS_ROOT: C:/ruby/myprojects/ajaxonrails Application Trace | Framework Trace | Full Trace c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request_forgery_protection.rb:79:in `verify_authenticity_token'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:46...
2009 Apr 15
0
hpricot bug?
...is: nth = proc { |num,i| self.position == num.to_i } What is proc for kind of function? Maybe the gem or component that defines proc is out of sync with hpricot ? NOTE: I have the same code and gem versions running on debian linux working fine, and it also worked nicely before on windows. I run ruby 1.8.6 and installed it with the one-click installer for Windows. Best regards! Kristofer, Sweden ArgumentError in Admin portal srv propController#srv_prop_cmd wrong number of arguments (0 for 1) RAILS_ROOT: F:/srv/dreamgallery/content/v400 Application Trace | Framework Trace | Full Trace f:/ru...
2006 Jan 10
1
Cooky cookies causes trouble
...eproduced the error in the simplest application possible, and dare therefore say that this quite possible could be a bug in Rails. Database: CREATE TABLE `cookies` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `name` VARCHAR(50) NOT NULL, PRIMARY KEY (`id`) ) Generated scaffold: ruby script/generate scaffold Cookie Environment: Ruby version1.8.2 (i386-mswin32)RubyGems version0.8.11Rails version1.0.0Active Record version1.13.2Action Pack version1.11.2Action Web Service version1.0.0Action Mailer version1.1.5Active Support version1.2.5Application rootC:/Documents and Settings/Hug...
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 a...
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 Reci...
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'' C:/Ruby/lib/ruby/gems/1.8/gems/pdf-writer-1.1.8/lib/pdf/writer/ graphics/im...
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
.... 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 (1.2.7.1) rubyforge (1.0.4) term-ansicolor (1.0.4) test-unit (1.2.3) treetop (1.3.0) webrat (0.5.3) and here is the error after typing rake: no such file to load -- rspec-rails /opt/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/polyglot-0.2.8/lib/ polyglot.rb:68:in `require'' /opt/ruby-1.9.1-p243/lib/ruby/ge...
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'' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require'' c:/ruby/lib/ruby...
2007 Jun 25
2
undefined method `each' for ***:Class PROBLEM
...in @posts render :text => p.id end end when i run this action on the browser, it gives me this error message: NoMethodError in PlcController#testing undefined method `each'' for Post:Class RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/ base.rb:1235:in `method_missing'' #{RAILS_ROOT}/app/controllers/plc_controller.rb:40:in `testing'' C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/ base.rb:1235:in `method_missing'' C:/ruby/li...
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 constant HTTPSession C:/InstantRails/ru...
2006 Apr 17
5
Strange question on file_column
...e of template inclusion: /app/views/demands/list.rhtml RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/app/views/demands/list.rhtml:25:in `compile_template'' #{RAILS_ROOT}/app/controllers/demands_controller.rb:5:in `index'' -e:3 d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_view/base.rb:300:in `compile_and_render_template'' d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_view/base.rb:285:in `render_template'' d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_view/base.rb:244:in...
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 1.8.4 (2006-04-14) [i386-mswin32] Great......
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 is this error when I attempt to run the program. I have been looking at this for several hours now and am running out of ideas....