Displaying 20 results from an estimated 18017 matches for "associ".
Did you mean:
assoc
2009 Aug 06
0
Tasty Planet fails to run
...in ntdll (0x0064eb78)
6 0x7bc73c8b in ntdll (+0x63c8b) (0x0064f3b8)
7 0xb7e724ff start_thread+0xbf(arg=0x64fb90) [/build/buildd/glibc-2.9/nptl/pthread_create.c:297] in libpthread.so.0 (0x0064f4b8)
fixme:shell:DllGetClassObject failed for CLSID={a07034fd-6caa-4954-ac3f-97a27216f98a} (Query file associations)
err:ole:CoCreateInstance apartment not initialised
err:shell:SHCoCreateInstance failed (0x800401f0) to create CLSID:{a07034fd-6caa-4954-ac3f-97a27216f98a} (Query file associations) IID:{c46ca590-3c3f-11d2-bee6-0000f805ca57} (unknown)
err:shell:SHCoCreateInstance class not found in registry
f...
2007 Mar 29
21
a better "should have valid associations"
This is pretty much the same as last time around, if you recall.
Thanks to Wilson for converting to the new form. I''ve added a few
lines. Basically, it iterates over your model associations and does
two things.
- First, just try to call the association. Usually fixes speeling
erors or other such silliness.
- Second, try to find a record with an :include on the association.
This actually hits the DB and will tell you if you have lingering
associations on deleted models. Page.f...
2007 Jun 07
4
checking associated objects have been deleted
I have the following model:
class Book < ActiveRecord::Base
has_many :taggings, :dependent => :delete_all
has_many :tags, :through => :taggings
end
is it possible to check that associated taggings are being destroyed
using mocks? I don''t want to test that rails is deleting the
associations, I want to test that I have specified the association as
a dependent one.
the only way I can think of is to use fixtures (or create real
associations in the before callback) and then...
2011 Jan 31
1
Openssh 5.7p1
...at/ -L/usr/local/ssl/lib -L/usr/local/lib -Wl,-blibpath:/usr/lib:/lib -lssh -lopenbsd-compat -lcrypto -lz
ld: 0711-593 SEVERE ERROR: Symbol C_BSTAT (entry 2427) in object clientloop.o:
The symbol refers to a csect with symbol number 0, which was not
found. The new symbol cannot be associated with a csect and
is being ignored.
ld: 0711-593 SEVERE ERROR: Symbol C_BSTAT (entry 2430) in object clientloop.o:
The symbol refers to a csect with symbol number 0, which was not
found. The new symbol cannot be associated with a csect and
is being ignored.
ld: 07...
2008 May 07
1
Assigning to the foreign key on a belongs_to association
I''ve encountered what seems like an odd omission in the behaviour of
belongs_to associations: if you assign to the foreign key attribute,
it doesn''t update the associated object (or mark a previously loaded
one as stale) until you explicitly save or reload it.
Let''s say we have a Company model, which belongs_to :city :
>> torchbox = Company.find_by_name('...
2011 Feb 11
1
Compilation error: SEVERE ERROR: Symbol C_BSTAT (entry 2175) in object clientloop.o
...compat/ -L/usr/local/lib -Wl,-blibpath:/usr/lib:/lib:
/usr/local/lib -lssh -lopenbsd-compat -lcrypto -lz
ld: 0711-593 SEVERE ERROR: Symbol C_BSTAT (entry 2175) in object
clientloop.o:
The symbol refers to a csect with symbol number 0, which was not
found. The new symbol cannot be associated with a csect and
is being ignored.
ld: 0711-593 SEVERE ERROR: Symbol C_BSTAT (entry 2178) in object
clientloop.o:
The symbol refers to a csect with symbol number 0, which was not
found. The new symbol cannot be associated with a csect and
is being ignored.
ld: 0...
2006 Jan 08
8
I need untyped associations
I am in the process of trying to migrate to ROR from a home grown ORM,
but one stumbling block is ActiveRecord''s typed associations and object
ID assignment scheme. In the home grown system, I have a master table
which *all* objects are packed into and a master associative table which
holds *all* associations. This allows each object, regardless of type,
to have a unique ID and thus it is easy to allow any object to as...
2006 May 08
2
Associating with different classes
Dear Railers,
I am toying with a new project and have a schema design question.
I have a tree-like node structure. Each of the nodes will be
associated with a single object. This associated object can be of a
variety of types.
I represent the tree through a Node class which acts_as_tree. Now
imagine three other classes--Animals, Fruits and Vegetables. Each
node will have an association with one object of ONE type. The object
types are...
2006 May 20
10
HOW TO create a new record and its associated objects within the SAME PAGE
hi,
can''t find any good tutorial or advice to deal with the creation of a
new record and it''s associated objects within the same page.
do i have to use ajax just to add custom form fields that will be
handled by the controller for associated objects creation.?
do i have to use ajax to add associated objects to the unsaved but
allready in session parent object?
what''s the best approach...
2008 Aug 25
2
Validating an association
I have two models, A and B, related to one another by a many to many
association and I want to validate an object of model B as it''s being
added to the association based on both its own attributes and
attributes of the particular object of model A that it''s being
associated with.
I''ve realized that I can''t do this if the association is...
2006 Feb 26
5
Help On Associations Extension.
Hi to all,
I''m needing some help here ... I want to do an extension on a
has_and_belongs_to_many to build a custom add method to the
association.
i have a table locations that has a many-to-many association with a
tags tabel using a locations_tags table.
i want to add a method to the Location has_and_belongs_to_many
association so that i can do something like this on the location
model:
myLocation.tags.add_by_names ''tag1...
2006 Apr 20
4
Question about Associations
Hi all. Got a stupid-simple question about associations. I have two
models - school and course. There are a fixed number of schools (set
up in the migration). Each course is assigned a school and a school
will be associated with multiple courses...
How do I set up the associations? Do (can) I have School :has_one
:course and Course :has_many :sc...
2006 Feb 16
2
simple association question
I have two models, Donor and Contribution, and have has_many and
belongs_to set respectively.
My question is regarding creation of associated objects. I''ll let the
code speak:
me = Donor.find(1)
contribution = me.contributions.create do |e|
e.amount = 164.00
e.category = Category.find(1)
end
I thought this was valid, but it doesn''t work properly - it appears to
create a new Contribution, but does not asso...
2006 Dec 13
3
Testing has_many :through
I''m working with a has_many :through association, where a Member
has_many Projects through ProjectViewers. The problem I''m running
into is that Rails doesn''t load the association so line (3) fails
until I explicitly access a member of the collection (in this case, I
iterated it). Is there a better way?
Thanks,
Ste...
2011 Feb 28
3
Feature: ActiveResource - Adding associations through reflections
..., that i
have to write an email at this list.
I hope, that''s the right place for this. If it''s not, i''M really
sorry.. ;)
Could someone please give me feedback about this lighthouse-ticket?
https://rails.lighthouseapp.com/projects/8994/tickets/6473-activeresource-adding-associations-through-reflections
It''s about adding association-definitions in ActiveResource.
Thank you for reading this Mail.
Greetings
Markus Schwed
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, se...
2008 Feb 19
1
[CruiseControl] RubyOnRails build 8896 failed
The build failed.
CHANGES
-------
Revision 8896 committed by bitsweat on 2008-02-19 02:56:05
Don''t assume all records from nested include are of same class. Closes #11154 [acechase]
M /trunk/activerecord/lib/active_record/association_preload.rb
A /trunk/activerecord/test/cases/associations/eager_load_nested_include_test.rb
TEST FAILURES AND ERRORS
-----------------------
Name: test_include_query(EagerLoadPolyAssocsTest)
Type: Error
Message: ActiveRecord::StatementInvalid: PGError: ERROR: syntax error at or near "...
2009 Jul 22
0
[LLVMdev] proposed new rule for getelementptr
...ning the definition of getelementptr (GEP) to
> clarify its semantics and to allow front-ends to provide additional
> information to optimization passes.
>
> To help support this, I'd like to propose the following rule:
>
> Any memory access must be done though a pointer value associated
> with with address range of the memory access, otherwise the behavior
> is undefined.
>
> "associated with" is defined as follows:
>
> - A pointer value formed from a getelementptr instruction is
> associated with the addresses associated with the first ope...
2010 Aug 02
7
Complex associations
I am working on a project that has some complex table associations,
and I am having a hard time declaring this association in a Model, and
fear it can''t be done.
Here is an example of my issue...
class StoreType < ActiveRecord::Base; end
class Store < ActiveRecord::Base; end
class Department < ActiveRecord::Base; end
class Product < Ac...
2008 Apr 11
2
Validating an ActiveRecord object and its has_many :through associations
Considering an object with several has_many :through => associations,
what is the ''best'' way to handle validations?
As an example:
class Student < ActiveRecord::Base
# some attrbutes like
# :name
# :grade
# relationships
has_many :students_assignment, :dependent => :destroy
has_many :assignments, :through => :student...
2004 Dec 28
3
lost association for .RData files
Somehow I have lost the correct file association for .RData files. They
are now associated with a text file editor. When I right click on any
.RData file and try to change the association, R is not listed as a
choice of program. I browse to c:\Program Files\R\rw2001\bin\Rgui.exe
and select that file to open .RData, but Windows does not then...