Displaying 20 results from an estimated 20000 matches similar to: "Where to keep web search results"
2006 May 02
0
YAML failing to de-serialize
I''m seeing this same problem that Josh was seeing back on March 23rd
(see below)
I''ve got the following YAML snippet stored in a text field:
"--- !ruby/object:FieldValue \nattributes: \n item_id: 60\n title:
Test\n field_id: 15\n created_by_id: 5\n locale: en\n link:
www.cclearn.com\n comment: this is a test\n created_at: 2006-05-02
15:43:14.256792 Z\nnew_record:
2006 Aug 11
0
serializing / deserializing active records with children
What is the best approach to serialize / deserialize full blown active
record objects with multiple child objects (one-to-many relations).
YAML::load(), YAML::dump() almost work :) -> loaded object has
children (I see them in breakpoint session: "puts parent"), but when I
am accessing children (e.g: "puts parent.emails") array becomes
cleared - I guess rails are trying to
2017 Jul 19
2
[RFC][ThinLTO] llvm-dis ThinLTO summary dump format
On Wed, Jul 19, 2017 at 8:43 AM Teresa Johnson <tejohnson at google.com> wrote:
> On Wed, Jul 19, 2017 at 8:31 AM, David Blaikie <dblaikie at gmail.com> wrote:
>
>>
>>
>> On Mon, Jul 17, 2017 at 5:18 PM Mehdi AMINI <joker.eph at gmail.com> wrote:
>>
>>> 2017-07-17 16:49 GMT-07:00 David Blaikie via llvm-dev <
>>> llvm-dev at
2013 Jun 18
0
Announce: Puppet 2.7.22 Available [ Security Release ]
Puppet 2.7.22 is now available. 2.7.22 addresses a security
vulnerability discovered in the 2.7.x series of Puppet. This
vulnerability has been assigned Mitre CVE number CVE-2013-3567.
All users of Puppet 2.7.21 and earlier who cannot upgrade to the
current version of Puppet, 3.2.2, are strongly encouraged to upgrade
to 2.7.22.
For more information on this vulnerability, please visit
2007 Sep 07
0
De-serializing attribute gives YAML::Objects?
I wonder rails 1.2.3 cannot deserialize attribute (objects) correctly
but give YAML::Object. Are there any workarounds or tricks to solve
the problem?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2017 Jul 17
3
[RFC][ThinLTO] llvm-dis ThinLTO summary dump format
On Mon, Jul 17, 2017 at 6:11 AM Charles Saternos via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hey @chandlerc and @dblaikie,
>
> Any updates on this in relation to "[PATCH] D34080: [ThinLTO] Add
> dump-summary command to llvm-lto2 tool"?
>
Sorry you've kind of got stuck in the middle of this - but I'm still hoping
to hear/understand the pushback on
2018 May 03
0
RFC: LLVM Assembly format for ThinLTO Summary
Ugh, my earlier response is awaiting moderator approval. Apparently with
the response and all the other earlier emails quoted it was too long.
Resending with a bunch of old quoted emails trimmed.
Teresa
On Thu, May 3, 2018 at 2:58 PM, Teresa Johnson <tejohnson at google.com> wrote:
>
>
> On Thu, May 3, 2018 at 2:16 PM, Steven Wu <stevenwu at apple.com> wrote:
>
>>
2011 Dec 15
0
Using stored configs brakes on client update
Hi,
We''re using puppet from longer time, but now want to switch into
stored configs. When I ran locally puppet on puppetmaster server, ie:
puppet /var/lib/puppet/manifests/nodes.pp --debug
it works smooth.
When running client with debug I get message:
root@puppet-client:~# puppet agent -v --fqdn=puppet-client.ig.local --
waitforcert 60 --onetime --no-daemonize --logdest console --test
2018 May 03
0
RFC: LLVM Assembly format for ThinLTO Summary
On Thu, May 3, 2018 at 2:16 PM, Steven Wu <stevenwu at apple.com> wrote:
>
>
> On May 1, 2018, at 4:50 PM, Teresa Johnson via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
> Hi Mehdi, thanks for the comments, responses and a tweaked proposal below.
> Teresa
>
> On Tue, May 1, 2018 at 11:37 AM, Mehdi AMINI <joker.eph at gmail.com> wrote:
>
2010 Oct 06
2
weird ELF error
Anyone know what this is? It doesn''t seem related to puppet but I''m stumped.
info: Loading facts in dmidecode
info: Loading facts in cpuinfo
debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; using pson
/usr/lib64/ruby/site_ruby/1.8/puppet/indirector/rest.rb:55:in `deserialize''
/usr/lib64/ruby/site_ruby/1.8/puppet/indirector/rest.rb:69:in
2011 Mar 09
1
ActiveRecord serialize method not returning YAML array in test environment.
Hello,
I''ve got a problem with deserialization of AR "serialize" method
(http://apidock.com/rails/ActiveRecord/Base/serialize/class) in my
tests.
It just gives me pure String instead of my data Array.
Example:
User > AR::Base
serialize :roles, Array
end
Console:
u = User.new
u.roles = ["admin", "support"]
u.save
# => true
User.first.roles
# =>
2007 Aug 02
0
Deserializing objects in the controller
I''ve an AR model that serializes another object (A), which does not
inherit from ActiveRecord::Base. The problem I''m facing is that while
A can be deserialized properly in script/console, it deserializes as
YAML::Object in the controller. This means that the methods on A are
not available on the deserialized instance and I receive NoMethodError
messages.
I''ve tried to
2006 Apr 20
5
Mystified by ActiveRecord.serialize
I''m either missing a step, confused or seeing some odd behavior with
ActiveRecord''s serialize feature. When I load an ActiveRecord object
from the database, my serialized attribute is a YAML::Object, not the
original object. My code is based on an example of this capability in
the "Agile Web Dev. w/ Rails" book (p. 196).
In create.sql:
<code>
create table
2018 May 03
1
RFC: LLVM Assembly format for ThinLTO Summary
> On May 3, 2018, at 2:58 PM, Teresa Johnson <tejohnson at google.com> wrote:
>
>
>
> On Thu, May 3, 2018 at 2:16 PM, Steven Wu <stevenwu at apple.com <mailto:stevenwu at apple.com>> wrote:
>
>
>> On May 1, 2018, at 4:50 PM, Teresa Johnson via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>>
2017 Jul 19
4
[RFC][ThinLTO] llvm-dis ThinLTO summary dump format
On Mon, Jul 17, 2017 at 5:18 PM Mehdi AMINI <joker.eph at gmail.com> wrote:
> 2017-07-17 16:49 GMT-07:00 David Blaikie via llvm-dev <
> llvm-dev at lists.llvm.org>:
>
>>
>>
>> On Mon, Jul 17, 2017 at 6:11 AM Charles Saternos via llvm-dev <
>> llvm-dev at lists.llvm.org> wrote:
>>
>>> Hey @chandlerc and @dblaikie,
>>>
2006 Nov 01
0
Re: YAML.load(some_string) doesn't return hash?
Oleg Kh wrote:
> A small problem here. As per documentation on
> http://corelib.rubyonrails.org/classes/YAML.html YAML.load(string)
> should just return a hash. However on my windows machine it returns
> something like this:
>
> #<YAML::Syck::DomainType:0x36d5038
> @domain="yaml.org,2002",
> @type_id="map:HashWithIndifferentAccess",
>
2012 Mar 28
2
retrieving module directory
Hi everyone,
I have a puppet master/client infrastructure setup with apache. When on the
same datacenter I don''t have any problem.
I am trying to use another datacenter, so I setup the fileserver.conf as
followed:
# Files in the /path/to/files directory will be served
# at puppet:///mount_point/.
[modules]
allow *.datacenter1
allow *.datacenter2
[plugins]
2009 Feb 01
1
activerecord access raw serialized data
Hi,
I have a model with a serialized field ''other_data''.
How can I add raw YAML data to that field?
If i try:
model[other_data] = yaml_formatted_data
yaml_formatted_data gets YAML formatted again.
--
cheers,
M.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
2009 Sep 20
1
Return a list from a .Call but segfaults
Hello,
I call a function via .Call passing to it a raw vector(D) and an
integer(I)
The vector is a series K1,KData1, V1,VData1, K2, KData2, ...
where the integer K1 is the length of Data1 and similarly for Ki (wrt
Datai)(similarly for V*) There 2*I such pairs( (Ki,KDatai), (Vi,VDatai))
The numbers Ki(and Vi) are written in network order.
I am returning a list of I elements each element a
2013 Jun 27
0
[LLVMdev] Proposal: extended MDString syntax
One question I have about this, what is the use case that is being targeted here?
Micah
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Bob Wilson
Sent: Wednesday, June 26, 2013 10:43 PM
To: Chandler Carruth
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Proposal: extended MDString syntax
On Jun 26, 2013, at 4:36 PM, Chandler Carruth <chandlerc