Displaying 1 result from an estimated 1 matches for "sfullnam".
Did you mean:
sfullname
2005 Dec 20
9
Rails Configuration Question
...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
def index
@bugs = Bug.find(1)
end
end
#...