similar to: LoadError (Expected model.rb to define Model)

Displaying 20 results from an estimated 2000 matches similar to: "LoadError (Expected model.rb to define Model)"

2010 Jan 05
1
Errno::ENETUNREACH (Network is unreachable - connect(2)):
I am trying to run my first app on the Solaris server, in a production environment. I get a network unreachable. Why? Does it belongs to database.yml config? Processing CategoriesController#index (for 10.3.70.129 at 2010-01-05 14:00:47) [GET] Errno::ENETUNREACH (Network is unreachable - connect(2)): /usr/ruby-enterprise/lib/ruby/1.8/net/http.rb:560:in `initialize''
2009 Apr 17
0
A frustrating and strange error when config.action_controller.perform_caching = true
Hello all. I am having a hell of a problem and it''s driving me nuts. I get the following error (undefined method `controller_name'' for nil:NilClass): but only when config.action_controller.perform_caching = true I googled around some and found this thread http://groups.google.com/group/communityengine/browse_thread/thread/b84154e5228bf9f3which suggests it may be a conflict with
2009 Mar 26
1
Error Send Message
Hello, I''m trying to make my rails app send mail. so it''s can''t send it''s error. I''m using the following configuration in environment.rb: == Rails::Initializer.run do |config| ... config.action_mailer.delivery_method = :smtp end ActionMailer::Base.smtp_settings = { :address => "mail.mydomain", :port => 25, :domain =>
2010 Jun 13
4
internal server error(500) when attempting to sendmail
Hello, I have an application that, when you create an appointment it sends an email to the client to say someone has just booked. Locally, this works fine (i''m just using sendmail) Locally - all email tests have come through - no problem. However - when I copy all the files onto the server and attempt to create a booking, it comes up with the 500 page. The error below if taken from my
2011 Aug 21
1
dashboard 1.1.1 with filebucket doesn't show contents of the new file
Am using dashboard 1.1.1 with the use_file_bucket_diffs option. When clicking on the links within a report it will show the old md5 file (on the left) but not the new md5 file (on the right) like; content content changed ''{md5}26a3112822d01f2ce6b3f052bf2809de'' to ''{md5}dd97364ab0559344d73231f517951595'' 26a3112822d01f2ce6b3f052bf2809de ==> is displayed
2009 May 20
8
ctionView::TemplateError (undefined method `start_form_tag'
I upgrade my version of ruby on rails And my SO Free BSD was working with Ruby 1.8 + 1.2.6 and now Mandriva Linux with Ruby 1.8 + Rails 2.1.1 it''s not working ERROR: Processing LoginController#fazer_login (for 192.168.3.210 at 2009-05-20 09:20:53) [GET] Session ID: BAh7BzoNYWRtaW5faWQwIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpG
2012 Mar 30
0
Facing probme with image upload rails 2.3.4, ruby 1.9.2 with papaerclip
I been working on image upload since long and every time working fine, Now since i deployed application on server,i am facing strange problem while image upload. When i am trying upload image it''s gives error like, NameError (undefined method path'' for classActionController::UploadedStringIO''): :10:in synchronize'' passenger (3.0.9)
2010 Feb 25
0
Ruby on Rails application could not be started
Hi, Hi, I''m upt o install retrospectiva on my centOS 5 machine. Therefore, i installed ruby 1.9.1 (ruby 1.9.1p376 (2009-12-07 revision 26041) [x86_64-linux]) and following gems: *** LOCAL GEMS *** actionmailer (2.3.5) actionpack (2.3.5) activerecord (2.3.5) activeresource (2.3.5) activesupport (2.3.5) fastthread (1.0.7) mysql (2.8.1) passenger (2.2.10) rack (1.0.1) rails (2.3.5) rake
2010 Jan 26
2
accepts_nested_attributes_for :has_many :through => 'bug?'
Hey guys & ladies! I''ve got the following relationship which i''m trying to get accepts_nested_attributes to work with. But when i submit my form, it looks as if its expecting a Company object, rather than an array of companies. which really doesn''t make sense considering its a has_many :relationship. So what i''m after, is a way to
2011 Jun 01
7
desperate, errors with file upload
hello, i implementing a file upload using paperclip plugin. i getting the following error [1] when uploading a file. I''m using the gems rails v2.3.8 and paperclip v2.1.6. the parameter hash looks like [2], the model like [3]. Interesting is that i get two different errors, on the localhost with webrick it says: Status: 500 Internal Server Error no marshal_dump is defined for class
2013 Mar 07
2
Puppet Dashboard changed reports view error
Hello Puppet Users ! We encounter a problem with the dashboard on this URI : /reports/changed The /reports works fine with ~130000 reports (up to 3 months and auto-cleaning with rake reports:prune job) I make a reports:prune:orphaned, juste in case, but without any success. The most recent change on the server was the puppetmaster upgrade from 3.0.2 to 3.1.0. Here is the dashboard error log
2010 May 29
0
User Error during memcached integration
Hello, I hope all is well. I am hoping someone can help me with a problem that I am certain is user error? The configuration details below work in all my other environments including integration, development and qa. However, the production servers give the following error: unable to find server during initialization. When I telnet to the memcached box from the server having the problem and run
2009 Dec 07
1
problem starting rails (hobo) app with passenger
Dear All! I''ve set up my apache, passenger and configs, the passenger works, but the app can''t be started. the erros are the following These are the possible causes: * There may be a syntax error in the application''s code. Please check for such errors and fix them. * A required library may not installed. Please install all libraries that this
2009 Jun 22
0
Passenger 2.2.2 error
Hi, I deployed an rails 2.3.2 app on passenger 2.2.2. I get the following error sometimes. Is it something I can fix in my app or not? Passenger encountered the following error: The application spawner server exited unexpectedly: Broken pipe Exception class: PhusionPassenger::Railz::ApplicationSpawner::Error Backtrace: # File Line Location 0
2010 Feb 06
4
500 Internal Error
I have on ubuntu a digital library application Kete which gives in the log/production.log: Please help, thnx. /!\ FAILSAFE /!\ Fri Feb 05 19:05:08 +0200 2010 Status: 500 Internal Server Error No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Fri Feb 05 19:05:38 +0200 2010)
2010 Nov 16
15
acts_as_taggable, undefined method 'empty?'
I''ve tried out ''acts_as_taggable'', ''acts_as_taggable_on'' and ''acts_as_taggable_on_steroids'' and all of them output "undefined method ''empty?''" with the tag_cloud action. I am following the guides precisely. Yet I can find no references to this error anywhere, so I must be doing something wrong... I am on
2011 Mar 22
3
Premature end of script headers
after moving my app to production, I am getting the following error in the apache error log. I am running on linode with apache and passenger. any help would be great, thanks, Jason [Tue Mar 22 00:18:04 2011] [error] [client 50.9.211.207] Premature end of script headers: [ pid=23638 thr=3063581552 file=ext/apache2/Hooks.cpp:821 time=2011-03-22 00:18:04.735 ]: The backend application (process
2009 Sep 23
6
Dreamhost launch issues. What gems are used in my rails app?
Hi guys, I made a quick app for a family member to be deployed on Dreamhost (low budget). It''s my first time deploying on DH so I''m not familiar with the restrictions. I''m having an issue where I''ve been able to get git on both systems and used capistrano to deploy the app. However migrations fail. I also tried exporting my local staging mysql schema and
2010 Dec 26
1
Sqlite gem not found with rails3
Hello, I am migrating a rails app to rails3, however I am hanging with an error about gem not found. Error message: Could not find sqlite3-ruby-1.3.2 in any of the sources (Bundler::GemNotFound) Exception class: PhusionPassenger::UnknownError When I do $ gem list sqlite3-ruby-1.3.2 *** LOCAL GEMS *** (and the same result with sudo gem list ) However, when I do gem list
2012 Apr 19
1
active admin undefined method `' for nil:NilClass
im working with active admin i have collection_select or dropdown box that populates the packages and crews im just wondering i why this undefined method `[]'' for nil:NilClass` i dont know what happened but it run few days ago and tested it once but now it raises this error are there possible way to solve this? def create @package = Package.find(params[:package_crew][:package_id])