similar to: "We're sorry, but something went wrong." from RoR app

Displaying 20 results from an estimated 11000 matches similar to: ""We're sorry, but something went wrong." from RoR app"

2010 Jul 16
31
Added associations but don't see generated methods
Hi, I''ve got a Rails app working that includes two two classes, etc.: Expense & Vendor. I eventually learned that the mental concept I had of their relationship should be express in Rails as: class Expense < ActiveRecord::Base; belongs_to :vendor; end class Vendor < ActiveRecord::Base; has_many :expenses; end
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''
2010 Jun 15
3
Newbie trying to set up rails with MySQL
Hello -- Please pardon my newness -- I''m just getting started with rails, and I''m having some difficulty getting it set up with MySQL. I am able to get the basic ruby server running (script\server). When I created a new page (using script/generate controller about index), I am not able to navigate to the new page, and Ruby either crashes or gives me an error: /!\ FAILSAFE /!\
2010 Mar 24
1
Trouble starting the server, HELP PLEASE!
can anybody tell me what is going wrong from the information taken from the development log below. WHen i start WEBrick and try and view a page on the localhost i get the following error, "We''re sorry, but something went wrong.We''ve been notified about this issue and we''ll take a look at it shortly." I''m a complete beginner and really want to start
2010 Jan 03
24
SQLServer on Rails
Does any one know how to setup SQLserver with ruby1.9. It was working on an earlier version and now nothing works! I have installed the gems dbi ,dbd-odbc and activerecord-odbc-adapter and can connect in straight Ruby. However, using rails with database.yml nothing works! I hosed everything and reinstalled rails and now, I get Win32/Parite virus on ruby.exe. Any ideas? I''m losing
2009 Jun 22
1
getting error can't modify frozen hash
Hi, When I upgraded my rails application to rails 2.3.2 I am getting error ''can''t modify frozen hash'' on using @something.update_attribute(params[:something]). Can anyone help me who is familiarize with this bug? Thanks,
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 Jul 31
43
Error: uninitialized constant MysqlCompat::MysqlRes
Hi, I installed the "kwatch-mysql-ruby" gem on my Debian server but when I try to run the "db:migrate" task I get the following error: ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate rake aborted! uninitialized constant MysqlCompat::MysqlRes
2009 Jun 09
3
NameError what is it?
I have the following code in app/controllers/processjobs_controller.rb # class ProcessJobsController <ApplicationController def index @ProcessJobs = ProcessJobs.find(:all) end end # This is my route file .. ActionController::Routing::Routes.draw do |map| map.resources :ProcessJobs map.connect '':controller/:action/:id'' map.connect
2010 Aug 03
2
PDFKit Fork() Function Unimplemented Error - HELP!
Hello All, We''re working on a project on a Windows machine that will use PDFKit to convert an HTML page to a PDF. I have followed all the instructions at GitHub (http://github.com/jdpace/PDFKit), for installing wkhtmltopdf and PDFKit, then creating the config file in ''config/initializers/pdfkit.rb'' and then finally, setting up Middleware for Rails apps in
2010 Mar 23
3
NoMethodError in AdminController#index
I am newb in ror. I''ve googled and found no concrete answer to my problem below: NoMethodError in AdminController#index undefined method `scaffold'' for AdminController:Class RAILS_ROOT: /home/darwin/Sites/music_library Application Trace | Framework Trace | Full Trace /home/darwin/Sites/music_library/app/controllers/admin_controller.rb:3
2008 Aug 22
2
How to find/open Spec::Expectations and Spec::Matchers
Hi, Then RSpec 1.4 recommends, in the webpage http://rspec.info/documentation/expectations.html, referencing the subject items. I''m running ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] over WinXP-Pro/SP2. I believe I installed RSpec with a Ruby gem. At least, I think that''s confirmed because I have a lot of stuff in the directory K:\_Utilities
2009 Dec 24
4
NoMethodError
Hi, In a few words, can someone explain to me the NoMethodError. Googling for answers will get you to something but a direct answer from experts will give you something. NoMethodError in Book#new Showing app/views/book/new.html.erb where line #4 raised: undefined method `title'' for #<Book id: nil, created_at: nil, updated_at: nil> Extracted source (around line #4): 1:
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
2009 Jun 08
2
Connecting to SQLServer
New to rails. Installed rails on my XP desktop, and setup my first app that will use an existing SQLServer database. I am able to connect to SQLServer using odbc with following code. require ''rubygems'' require ''ActiveRecord'' ActiveRecord::Base.establish_connection( :adapter => ''sqlserver'', :mode => ''odbc'', :dsn
2010 Dec 15
2
Error reverse engineering MySQL with RMRE
Hi I am been trying in vain to auto-gen models by reverse-engineering mysql using RMRE. It complains mysql2 gem missing but as seen in my Rails environment below, it is there. Here''s my Rails environment and RMRE error. Experts... please help! Thanks a ton in advance!! === Ruby version 1.9.2 (x86_64-linux) RubyGems version 1.3.7 Rack version 1.2 Rails version 3.0.3 Active Record
2009 Aug 19
27
First App- Error 500
I''ve created a simple hello world app that doesnt appear to serve up the view greeting.rhtml. :< Any ideas ? The error message is from development.log is... # Logfile created on Tue Aug 18 16:49:55 -0400 2009/!\ FAILSAFE /!\ Tue Aug 18 16:50:34 -0400 2009 Status: 500 Internal Server Error unknown error PS . It does show the default web page ok at http://localhost:3000 just not
2013 Apr 13
2
running rails on my linux mint
Hi i cannot start my rails server webrick and i m just start learning rails .. the error i get is: > /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /sbin in PATH, mode 040777 /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/runtime.rb:216: warning: Insecure world writable dir /sbin in PATH, mode 040777 => Booting WEBrick
2010 Jun 28
3
rake db:create failing
Hi everyone, First of all, I''m running Mac OS X Snow Leopard. Trying to set up a new SQLite database, but when I run rake db:create, I get the following huge message: unable to open database file /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/ sqlite3_adapter.rb:13:in `initialize''
2009 Oct 01
3
mongrel + mysql can't connect in custom mysql install
Hi all... The linux box I am working on I do not have root access to, and given I am at a government site all hope of that is lost. I have installed the mysql gem as follows: env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/home/t192zcs/mysql/mysql-5.1.39-linux-x86_64-icc-glibc23/bin/mysql_config