Displaying 13 results from an estimated 13 matches for "creator_id".
Did you mean:
create_id
2005 Mar 01
0
has_and_belongs_to_many problem
...s suggested adding multiple habtm associatings
in the Issue object. Here''s how they look:
class Issue < ActiveRecord::Base
has_and_belongs_to_many :creators
has_and_belongs_to_many :writers, :class_name=>''Creator'',
:association_foreign_key=>''creator_id'', :conditions=>''creator_job_id=1''
has_and_belongs_to_many :pencillers, :class_name=>''Creator'',
:association_foreign_key=>''creator_id'', :conditions=>''creator_job_id=2''
has_and_belongs_to_many :inker...
2006 Apr 06
4
using two foreign keys to the same table
i am working on a task manager with ruby on rails. it is my first major
project, so i''m still gettng my feet wet as i learn.
i''ve been trying to use the built in relationships to link my tables
together, but i''m not able to use the same naming conventions. for each
task, it has a field for the creator, and another field for the
assignee. both of these fields
2006 Mar 24
1
Problems with before_validation
Hi all
My visitors can create party organisator profiles, and I want assign
them as the creators (the field creator_id in the organisators table
references a member in the members table).
To do that I tried it with before_validation:
def before_validation
creator = Member.find 1
end
Sadly, this does not work. The validation
validates_presence_of :creator_id
Still tells me, that creator needs a value....
2006 Jul 14
3
Migration not updating fields
...in that is automatically update the
backlog_items_count on the way through the script, so in my console I
tried the following
>> pro = Product.find_all => [#<Product:0x409a6c34 @attributes={"name"=>"Product 1", "sprints_count"=>"0", "creator_id"=>"0", "id"=>"1", "backlog_items_count"=>"0", "update_user_id"=>"0", "owner"=>"0", "created"=>"2006-07-13 12:21:12", "updated"=>nil, "due"=>...
2006 Jun 27
2
how to use scope with acts_as_list
...ss Task < ActiveRecord::Base
belongs_to :assignee,
:class_name => ''User'',
:foreign_key => ''assignee_id''
belongs_to :creator,
:class_name => ''User'',
:foreign_key => ''creator_id''
has_many :comments, :dependent => destroy
validates_presence_of :title, :description, :date_due
acts_as_list :scope => :assignee
end
and this is what i have in my User model:
class User < ActiveRecord::Base
has_many :assigned,
:class_name => ''T...
2006 Jan 20
11
Userstamp Plugin
I''m pleased to announce a new plugin for Rails: Userstamp. You can read my
blog post at http://www.delynnberry.com/articles/2006/01/20/userstamp-plugin
and/or read all about it at the perminant page
http://www.delynnberry.com/pages/userstamp. Any comments or suggestions for
improvement are much appreciated.
--
DeLynn Berry
delynn@gmail.com
http://www.delynnberry.com
A dump of the Readme
2013 Mar 12
5
XSA-36 / howto fix broken IVRS ACPI table
...) AMD-Vi: Found MSI capability block at 0x54
(XEN) AMD-Vi: ACPI Table:
(XEN) AMD-Vi: Signature IVRS
(XEN) AMD-Vi: Length 0xd0
(XEN) AMD-Vi: Revision 0x1
(XEN) AMD-Vi: CheckSum 0x9b
(XEN) AMD-Vi: OEM_Id AMD
(XEN) AMD-Vi: OEM_Table_Id RD890S
(XEN) AMD-Vi: OEM_Revision 0x202031
(XEN) AMD-Vi: Creator_Id AMD
(XEN) AMD-Vi: Creator_Revision 0x0
(XEN) AMD-Vi: IVRS Block: type 0x10 flags 0x3e len 0xa0 id 0x2
(XEN) AMD-Vi: IVHD Device Entry: type 0x3 id 0x0 flags 0x0
(XEN) AMD-Vi: Dev_Id Range: 0x0 -> 0x2
(XEN) AMD-Vi: IVHD Device Entry: type 0x2 id 0x10 flags 0x0
(XEN) AMD-Vi: IVHD Device Entry:...
2007 Nov 05
0
Authentication: is a guest a user or an "exception"?
...ssign rights etc.) guests the same way as any other
user
+ All dynamic finder stuff etc. in Rails can be fully used, e.g. one can
create statistics for the guest user
+ Foreign keys can be set e.g. for comments that can be written by
guests AND members (no need to allow NULL in database fields like
creator_id)
Alternative 3:
- One can''t read statistics for the guest user out of the database as
one can in Alternative 2
- Foreign keys can''t be set as it is possible in Alternative 2
+ The view code does not have to know anything about the difference
between guests and logged in members
+...
2013 Oct 06
17
AMD IOMMU disabled - No Perdev Intremap
Hi!
From other people posting to this list, I know that there has been a
bug related to the issue described in Xen Security Advisory 36 that
disables iommu for some AMD users like me.
However, even when passing "iommu=no-amd-iommu-perdev-intremap" it
still disables i/o virtualisatoin. Related Xen dmesg output:
(XEN) IVHD Error: Invalid IO-APIC 0
(XEN) AMD-Vi: Error initialization
2010 Aug 20
0
[PATCH 1/2] Implement APEI ERST feature to Xen
...__u32 signature_end; /* must be CPER_SIG_END */
+ __u16 section_count;
+ __u32 error_severity;
+ __u32 validation_bits;
+ __u32 record_length;
+ __u64 timestamp;
+ uuid_le platform_id;
+ uuid_le partition_id;
+ uuid_le creator_id;
+ uuid_le notification_type;
+ __u64 record_id;
+ __u32 flags;
+ __u64 persistence_information;
+ __u8 reserved[12]; /* must be zero */
+};
+
+struct cper_section_descriptor {
+ __u32 section_offset; /* Offset in bytes of the...
2013 Dec 02
3
no-amd-iommu-perdev-intremap + no-intremap = BOOM with Xen 4.4 (no-intremap by itself OK).
...) AMD-Vi: Found MSI capability block at 0x54
(XEN) AMD-Vi: ACPI Table:
(XEN) AMD-Vi: Signature IVRS
(XEN) AMD-Vi: Length 0xc0
(XEN) AMD-Vi: Revision 0x1
(XEN) AMD-Vi: CheckSum 0x23
(XEN) AMD-Vi: OEM_Id AMD
(XEN) AMD-Vi: OEM_Table_Id RD890S
(XEN) AMD-Vi: OEM_Revision 0x202031
(XEN) AMD-Vi: Creator_Id AMD
(XEN) AMD-Vi: Creator_Revision 0
(XEN) AMD-Vi: IVRS Block: type 0x10 flags 0x3e len 0x90 id 0x2
(XEN) AMD-Vi: IVHD Device Entry: type 0x3 id 0 flags 0
(XEN) AMD-Vi: Dev_Id Range: 0 -> 0x2
(XEN) AMD-Vi: IVHD Device Entry: type 0x2 id 0x10 flags 0
(XEN) AMD-Vi: IVHD Device Entry: type 0x2 i...
2013 Dec 02
3
Assertion ''l1e_get_pfn(MAPCACHE_L1ENT(hashent->idx)) == hashent->mfn'' failed at domain_page.c:203
...) AMD-Vi: Found MSI capability block at 0x54
(XEN) AMD-Vi: ACPI Table:
(XEN) AMD-Vi: Signature IVRS
(XEN) AMD-Vi: Length 0xd0
(XEN) AMD-Vi: Revision 0x1
(XEN) AMD-Vi: CheckSum 0x40
(XEN) AMD-Vi: OEM_Id AMD
(XEN) AMD-Vi: OEM_Table_Id RD890S
(XEN) AMD-Vi: OEM_Revision 0x202031
(XEN) AMD-Vi: Creator_Id AMD
(XEN) AMD-Vi: Creator_Revision 0
(XEN) AMD-Vi: IVRS Block: type 0x10 flags 0x3e len 0xa0 id 0x2
(XEN) AMD-Vi: IVHD Device Entry: type 0x3 id 0 flags 0
(XEN) AMD-Vi: Dev_Id Range: 0 -> 0x2
(XEN) AMD-Vi: IVHD Device Entry: type 0x2 id 0x10 flags 0
(XEN) AMD-Vi: IVHD Device Entry: type 0x3 i...
2012 Jan 12
9
linux 3.3-pre-rc1: Starting domU fails with Error: Failed to query current memory allocation of dom0.
Hi Konrad,
Today i tried linuses tree of today (last commit is 4c4d285ad5665bfbd983b95fde8d7a477d24a361).
It boots dom0 fine, but it fails to start any domU with: "Error: Failed to query current memory allocation of dom0."
With my previous 3.1.5 kernel everything is fine, nothing else changed in config in between.
dmesg and xm dmesg attached
--
Sander
Dom0 shows:
total