similar to: Error when Eager Loading "Not unique table/alias"

Displaying 20 results from an estimated 1200 matches similar to: "Error when Eager Loading "Not unique table/alias""

2003 Jul 03
0
Artilces invited for Tarang - Indian cultural magazine
Dear friends, The June issue of the cultural magazine 'tarang - the wave' is now available online at http://GreatIndiaOnline.com/taranga/postid=7370214117664 Please take a few minutes to check it out and download the PDF file. In this issue (June 2003) : * marriage and women On May 11, 2003, in New Delhi, a greedy groom and his parents demanded more dowry at the
2010 Dec 04
0
Father of Groom Speech and Toast - How to Input Hu
Father of groom speeches which bring about laughs in the faces of people listening are thought of to be one of the greatest things in attending any wedding affair. All weddings are understood as time for enjoyment. The joining of two hearts by means of wedding rituals also implies the unification of two families. And so, the best way to make the wedding a lot more special is presenting a father of
2006 Jan 31
4
Rails bug? Conditions on associations ignored by eager loading
I''m looking for someone to confirm the following as a bug in Rails 1.0 before I post it to Trac. If I use eager loading on an association that has conditions defined, the conditions are ignored. The following example illustrates the problem. I have two tables: create_table "blogs", :force => true do |t| t.column "name", :string end create_table
2006 May 21
3
Using ParseDate in for loop
Hi, I''m trying to use ParseDate within a for loop but I get this error: can''t dup NilClass Any suggestions for making this work? Thanks, -Jason
2006 Jan 12
2
Engines issue: rake test_plugins failing when it shouldn''t
I create a simple engine with a simple controller: class FredController < ApplicationController def hello render :text => ''Hello, world!'' end end and I create a simple functional test within the engine: class FredControllerTest < Test::Unit::TestCase ... def test_hello get :hello assert_response :success end
2005 Jul 26
3
Generating unique random tokens for ActiveRecord objects
I have an ActiveRecord subclass that needs to generate a random (hard to guess) token for each record in its corresponding table. Currently I''m doing something like this: def before_create self[''token''] = random_value while self.class.find_by_token(self[''token'']) self[''token''] = random_value
2006 Feb 14
7
9cays - A Rails app for Group Email
Even though it''s a little OT, I thought I''d announce the free public beta of a new Rails app that I''ve been working on for a while: http://9cays.com Think of it as mini-mailing list software. For a lot of smallish conversations, normal mailing list are too heavyweight (requiring setup, moderation, admin, etc.), but group email is a pain because messages
2006 Feb 09
3
Autocompleter Request depends on other field
Hi list, First, I have a textbox "username". I also have an Autocompleter'd textbox called "products". Is there a "built in" way to have the Autocompleter's Ajax Request pass the value in the "username" field ? (I tried adding "parameters: $F('username')" to the Autocompleter's options, but, that grabs the initial username
2006 Apr 16
8
"Cannot convert String to Integer" after using association
So, I''ve written a partial that does some stuff with a given instance of my class "entity". Entity is ActiveRecord. I''m able to retrieve all sorts of data from an @entity, until I do something like: <% for @attribute in @entity.attributes %> <div id="attribute_<%= @attribute.id %>"> <%= render(:partial =>
2006 Jan 16
6
the competition?
The ''gmail'' video seems really interesting: http://www.morfik.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060116/385e77f0/attachment.html
2006 Jul 09
8
Can the has_many create() method return an ID?
Hi all, I have a has_many relationship, Cookbook :has_many Recipes If I want to create a new recipe in my cookbook I do: cookbook.recipes.create(data) It would be nice if I could then easily get the id of the new recipe, but the create() method doesn''t seem to return anything. Any ideas how? Thanks in advance! Cameron -- Posted via http://www.ruby-forum.com/.
2005 Nov 15
2
FormOptionsHelper select call failing
In Rails 0.14.3, I''m doing the following in a view: <%= select ''folder'', ''format'', [''a'', ''b'', ''c''] %> This line in is failing with: ActionView::TemplateError (too few arguments.) Am I calling select incorrectly? (Yes, the @folder object does exist, and does have an attribute
2006 Jun 10
3
Weird Problem With Active Record
Is it me or is my model getting the created_at from the wrong model! I have a HABTM relationship between Problems and Tags. In one of my controller I do the following: def view @tag = Tag.find_by_name @params[:id] end In my view I do this: <% @tag.problems.each do |problem| %> ... <%= problem.created_at %> ... <% end %> Now, how come the created_at
2004 Mar 11
1
Re: make.search.html() without write permission in R.home() (PR#6663)
Brian Yandell <byandell@wisc.edu> writes: > Folks, > I am working on a Windows system which is part of the UW-Madison > statistics LAN. R is maintained on a file system to which I cannot write. > I tried installing a package and got the following interplay: Set the lib argument to install.packages to a directory in which you do have write permissions. From ?install.packages
2007 May 17
8
Model: self is not child's parent
Assume a model Parent and another model Child. Child belongs_to Parent and Parent has_many Children. The following fails: @ p = Parent.find(:first) assert p.equal?(p.children[0].parent) @ It seems odd to me that I and my child''s parent are not the same object. In fact, this is royally screwing me up. Can anyone tell me why this is or point me at a relevant discussion, blog posting,
2006 May 03
2
Perplexing nested transaction issue
I''ve been struggling with a strange nested transaction problem for a while. I have a two objects with the following relationships: Mail has_many :recipients Recipients belong_to :mail I''d like to update the status of the Mail object while sending mails for each of it''s recipients. Following is a simplified example that I''m having problems with: def
2006 Apr 03
5
Heavy e-mail receive
Performance experts, Normally to receive e-mails is to pipe their content to script/runner individually from a mail server, sendmail or postfix. Doesn''t this configuration run like Apache 1.3 with CGI, meaning for each e-mail a boot of the entire Rails environment and thus low scalability? Is there anything working like lighttpd-fcgi or going toward its approach? DD -- Posted via
2017 Oct 23
2
Unable to apply mysqld_db_t to mysql directory
Hello, A server was configured in /var/lib/myslq in the root fs. I added a LV specifically for mysql. I stopped myql and renamed /var/lib/mysql to /var/lib/mysql.old. I created a new dir /var/lib/mysql and mounted the LV on /var/lib/mysql. I then copied with "cp -prZ" all mysql files in /var/lib/mysql.old to /var/lib/mysql. But then I got a selinux problem: # ls -ldZ mysql.old/
2006 May 09
7
going crazy!!!!!! ActiveRecord::StatementInvalid in Project
any suggestions on why I am gaining this error. ActiveRecord::StatementInvalid in ProjectsController#create Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' , , , , )'' at line 1: INSERT INTO projects (`name`, `date_created`, `quote_id`, `client_id`, `description`, `user_id`)
2002 Jan 04
0
Testing a Port...
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C19533.5BC03B40 Content-Type: text/plain I've been porting a library from the STATLIB site from S+ to R. Unfortunately, I don't have the capability to test the port against the original application. Is there anyone out there who