search for: yamliz

Displaying 4 results from an estimated 4 matches for "yamliz".

Did you mean: yamlio
2007 Apr 18
1
YAML serialization
Hi, something wrong with ActiveRecord or YAML? They don''t put Strings into Quotes when it serializes. This gave me trouble when I serialized a String with a double colon (eg. ''key: value''). After AR unserialized the Value it became a Hash since a String ''key: value'' becomes attribute[:key] => value... :( Sincerely Florian
2008 Oct 21
6
detecting width overflow in serialized column with mysql
So I''ve got an ActiveRecord model pointing to a MySQL db, with an auto-serialized column ("serialize :columnName"). Thing is, MySQL, depending on how it''s configured (like, by default), has a bad habit of just truncating your data if it''s too wide for the column, with no error raised. Yeah, I can probably reconfigure MySQL and/or my AR connection to it. But
2019 Mar 06
3
RFC: Adding "minidump" support to obj2yaml
Hello all, yesterday I sent an email <http://lists.llvm.org/pipermail/lldb-dev/2019-March/014811.html> to lldb-dev proposing a new tool in lldb for yamlization of minidump files. It's been suggested to me that instead of a new tool it may be better to add support for that format to obj2yaml instead. Hence, this email. :) As I expect most people are unfamiliar with this format, I'm going to start off with a brief introduction. Minidump is th...
2004 Oct 25
1
Rails 0.8: Just shy of 100 additions, changes, tweaks, and fixes!
...milestones.build Project#create_for_milestones => Project#milestones.create Project#find_in_milestones => Project#milestones.find Project#find_all_in_milestones => Project#milestones.find_all * Added serialize as a new class method to control when text attributes should be YAMLized or not. This means that automated serialization of hashes, arrays, and so on WILL NO LONGER HAPPEN (#10). You need to do something like this: class User < ActiveRecord::Base serialize :settings end This will assume that settings is a text column and will now YAMLize any obje...