When testing with rails, calling model methods within a view doesn\'t work. Is there a reason for this? The functions all work when accessing the page within the browser wit