Displaying 1 result from an estimated 1 matches for "personopenedby".
Did you mean:
person_opened_by
2005 Dec 20
9
Rails Configuration Question
...lt; Test::Unit::TestCase
def setup
@bug = Bug.find(1)
end
def test_read
assert_equal 1, @bug.id
puts "Category => " + @bug.category.sCategory
puts "Project => " + @bug.project.sProject
puts "Area => " + @bug.area.sArea
puts "PersonOpenedBy => " + @bug.person_opened_by.sFullName
puts "PersonAssignedTo => " + @bug.person_assigned_to.sFullName
end
end
This works perfectly and I assume must be using my database.yml for
connection info.
#Action Controller Code#
class BugController < ApplicationController...