Displaying 3 results from an estimated 3 matches for "linked_id".
Did you mean:
link_id
2008 Jan 18
2
has_many :through with self-referencial AND polymorphism
...ny :related_elements, :dependent => :destroy, :foreign_key =>
:publication_id
has_many :related, :through => :related_elements, :as => :linked,
:source => :publication
RelatedElement :
belongs_to :publication
And migrate as
create_table :related_elements do |t|
t.integer :linked_id
t.string :linked_type
t.integer :publication_id
end
When I do
a_publication.related[0] = another_publication
a_publication.save!
I would expect the related_elements table beeing updated with
publication_id = the id of a_publication
linked_id = the id of another_publication
li...
2006 Nov 28
0
tzinfo_timezone/tzinfo can't modify frozen object
...et.submitter.name})%>
30: | <%=ticket.status%> <%if
ticket.ticket_type_id?%><%=ticket.ticket_type.downcase%><%end%>
31: <%if ticket.priority_id?%> | <%=ticket.priority%>
priority<%end%>
32: <%if ticket.linked_id%>
#{RAILS_ROOT}/vendor/plugins/tzinfo_timezone/lib/tzinfo_timezone.rb:210:in
`tzinfo''
#{RAILS_ROOT}/vendor/plugins/tzinfo_timezone/lib/tzinfo_timezone.rb:184:in
`utc_to_local''
#{RAILS_ROOT}/app/views/tickets/my_active_tickets.rhtml:29:in
`_run_rhtml_47app47views47tickets...
2008 Nov 17
4
Debugging Asterisk
Hello all,
Two questions:
1) What do people on the list do to debug phone quality issues. Phone
quality seems to be a very subjective thing. But are there metrics that you
can work against? Like maybe generating a tone and measuring the return
quality etc? It looks like all trial and error right now. If that is the
way it is, then fine. But anything more accurate / scientific?
2) Also