search for: eager_loading

Displaying 12 results from an estimated 12 matches for "eager_loading".

2011 Mar 07
1
has_one :dependent => :destroy error (in `configure_dependency_for_has_one': compile error (SyntaxError))
Hi I''m getting the following error : /Users/nikosd/.rvm/rubies/ree-1.8.7-2011.02/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../bin/rake test Testing started at 12:00 PM ... (in /Users/nikosd/Work/.../.../...)
2011 Aug 11
0
JRuby + Rails3 + Unit Tests = "Log" issue?
Hey all, I am working on a Rails 3.0.7 application that is using JRuby 1.6.3, running on Debian. I keep encountering an error regarding a missing "Log" file when I am trying to run some Unit tests (among various other activities). The cryptic error in question: LoadError: No such file to load -- Log Has anyone seen anything like this before? I am baffled as to where to even begin to
2010 Dec 15
5
Having trouble testing :( "superclass mismatch" and can't load "test_helper"
I''m having trouble testing my Rails 3 application. Unit testing doesn''t work. If I try ruby article_test.rb directly, I get a "no such file to load" error, and if I try rake test:units or ruby unit/ article_test.rb I get this odd "superclass mismatch for class ArticlesController" error! I''m hoping I can get this settled... My test files were
2010 Jul 22
9
Something went wrong.
My app works fine in development on my laptop but in production on my server I get "We''re sorry, but something went wrong. We''ve been notified about this issue and we''ll take a look at it shortly." I am using Rails 3, Ruby 1.8.7, Apache and passenger 2.2.15 I get the welcome aboard page in production if I just go to the domain name but as soon as I want data
2011 Sep 05
8
In Rails 3.1 Model.count() ignores :include - no outer join in generated SQL
Hello! Just upgraded to Rails 3.1, ran my test and found this issue: class Trade < ActiveRecord::Base has_many :transaction_trades ..... def Trade.do_something stale_trades = Trade.count(''transaction_trades.id'', :include => :transaction_trades, :group => ''trades.id'')
2012 Jun 26
0
no such file load errors - md5
Dear All , I have a problem with : this error messasge " No Such File Load error - md5 " I can only use with development section.(rails s) I can''t use with production . ( rails s -e production). I use this command, the error message is like this Exiting /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:317:in `rescue in
2011 Feb 05
1
ActionMailer::Base.default_url_options
Hi, I want so set a default url for ActionMailer. I know, ActionMailer::Base.default_url_options is deprecated, so I use config.action_mailer.default_url_options = { :host => "localhost" } in my environments (test.rb, production.rb, ...). The problem is, I get a deprecation error and rails won''t start. I have no solution... Any hints for me? Testing started at
2010 Jul 08
25
Prepared SQL statements
Dear all great developers. I wonder if there is any work being done or thoughts being shared regarding prepared SQL statements. Currently I am in heavy need of tuning SQL INSERTS that insert large (3MB) images into blobs. I am using rails 2.3.5 with postgres adapter and pg driver. Any information would be appreciated. Jarl -- You received this message because you are subscribed to the
2010 Oct 30
12
Anyone successfully ran JRuby 1.5.3, Rails 3, Tomcat6
Hi, I''ve been trying to get JRuby 1.5.3 with Rails 3 to run on the Tomcat6 server with little success. Has anyone been able to do this? If so, what issues did you have to overcome to get this to work? Also, is this a combination that you would recommend for a production site, or is it all too new and untested? The latest issue I''m stuck on right now is with the mysql-connector-
2009 Jul 24
1
permit many-to-many vms / networks relationship redux
redux patchset permitting a vm to be associated with multiple networks and vice-versa. updated patchset so as to be applicable against current oVirt server HEAD these patches may be applied in any order, they all need to be pushed together
2009 Jul 09
2
permit many-to-many vms / networks relationship
This patchset contains changes to the ovirt server frontend, backend, and tests components, permitting vms to be associated with multiple networks and vice versa. Also included are two patches which are required for the frontend bits; a patch adding collapsable sections to the vm form, which in itself depends on the second patch that provides default values for the cpu and memory vm table fields
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
- db, model, service, controller, and view changes - many tests additions - various fixes / cleanup to get things working depends on my last two (still unacked) patches: - add collapsable sections to vm form - provide default vm allocated cpu and memory values ovirt-agent might need to be updated to work with the changes --- src/app/controllers/pool_controller.rb | 2 +-