search for: submitter_id

Displaying 3 results from an estimated 3 matches for "submitter_id".

2006 Feb 03
1
Database Foreign Key - Basic question
...making a Help Desk application. If I have a Problems table with two foreign keys to a People table, how do I set up my models, problems_controller list method, and then simply display say my problem submitter person? Here is what I have so far: Problems table with columns: id description submitter_id (foreign key to People table) assigned_to_id (foreign key to People table) etc People table with columns: id name models: class Problem < ActiveRecord::Base has_many :people class Person < ActiveRecord::Base has_many :problems problem_Controller: def list @submitter = Pe...
2006 Nov 28
0
tzinfo_timezone/tzinfo can't modify frozen object
...description)}%> 27: <div class="subtext" style="margin-top:3px; margin-bottom:14px;"> 28: #<%= ticket.id%> 29: | Submitted <%=format_date(@this_user.tz.utc_to_local(ticket.created_at))%> by <%= name_or_me(ticket.submitter_id, Proc.new {ticket.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:...
2007 Nov 11
5
undefined method `add''
We''ve been running into problems with ferret indexing lately. The problem is intermittent and some times it persists. Just got this after wiping the index and redeploying: NoMethodError (undefined method `add'' for Solution:Class): (druby://10.1.65.87:9009) /data/releases/20071111152414/vendor/rails/activerecord/lib/active_record/base.rb:1238:in `method_missing''