I have a rails 3 application and I am fairly new to rails. I have an address model. When a form gets submitted, the address is saved successfully. In the address model, there is a field as follows:
property :street_address, Text, :required => true
In the rails console, when I type:
1.9.3p194 :062 > add = Address.get(208)
=> #<Address @id=208 @street_address=<**not loaded**> @postal_code="400123" @latitude=0.0 @longitude=0.0 @sub_area="subarea1" @city_id=1 @state_id=16 @country_id=1 @area_id=nil>
1.9.3p194 :063 > add.street_address
=> "STREET"
Why is " not loaded " displayed for street address? Same thing happens for a field of Text data type in another model.