Displaying 2 results from an estimated 2 matches for "customer_service_loc".
2006 Mar 23
1
YAML inconsistencies...
...mess with.
I upgraded both Ruby (1.8.3 -> 1.8.4) and Rails ( -> 1.1RC1) and this junk
started. I''ve outlined the problem in two pastes, which I''ll paste below.
----1
### This was already saved in my database, pre 1.8.3 -> 1.8.4, and pre
Rails 1.1RC1
>> c.lawsuit.customer_service_location
=> "--- !ruby/object:Address \nattributes: \n created_on: 2006-02-24
12:30:19\n city: Alex City\n line1: 441 Saint Bernard Drive\n zip:
\"35086\"\n line2: ''''\n id: \"124\"\n contact_detail_id: \"128\"\n
detail_key: Home Address\n...
2006 May 02
0
YAML failing to de-serialize
...ut developed under
1.8.2 and am now trying to deploy under 1.8.4 (not the best idea I
acknowledged)
Any help?
Thanks
-kellan
On 3/23/06, Josh Adams <knewter@gmail.com> wrote:
>
> ### Try to load the previous YAML string this time, and error...
> >> YAML.
> load c.lawsuit.customer_service_location
> NoMethodError
> : You have a nil object
> when you didn''t expect it!
> You might have expected an instance of Array.
> The error occured while evaluating
> nil.include?
> from
> ./script/../config/../config/../vendor/rails/activerecord/lib/active_record/base...