similar to: ActiveRecord storing arrays and hashes

Displaying 20 results from an estimated 500 matches similar to: "ActiveRecord storing arrays and hashes"

2013 Oct 17
1
Fwd: Read a Number column with leading zeros using Roo gem
Hi all, I am trying to open and read a xlsx file, which I have attached. The upc column in that file, is the one I''m talking about. If I open the file in the Open Office Spreadsheet, it is correctly displaying with leading zeros. But if I read it with Roo gem it truncates the leading zeros. I understand this is the expected behavior since the column type is Number. But how is Open Office
2010 Jan 06
4
serialized attribute converting to string on reload
Hello, Anybody help me out? I done googled it good and didn''t find anything (which should mean that I''ve done something wrong). Not much code to talk about here, quite simply I have an attribute that is serialzied and when I update it, irb shows the object and my methods run on it as it were indeed so. Though when I reload it changes the data to a string. Not yaml, just one
2011 Jul 19
0
Setting up omniauth with salesforce login in rails 2.3.8( ruby 1.8.6)
Hi, We have a production rails app running on ruby 1.8.6 with rails version 2.3.8. We are thinking about setting up omniauth to allow users login through salesforce. But the omaniauth ldap dependency inturn depends on ruby 1.8.7. Is there any way we can setup ominauth without ldap dependency to work on ruby 1.8.6? -- Azhagu Selvan SP -- You received this message because you are subscribed
2013 Jun 16
3
Best library for reading/wriiting excel in ruby
Hi All , I am new for ruby programming and using ruby for automation work . Planned to implement READ / WRITE excel function in ruby , can you please let me know which library or open source will be good foe this ..? Thanks , Muthu Selvan SR -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this
2013 Jun 20
8
[HELP] - Ruby Drag and Drop script on screen element in Mac OS
Hi All , I am new to the ruby , i want click the object on element ( any object , Ex: Calculator) after click i need Drag and Drop the element continuously for some time , please let me know how to do it in ruby in Mac OS ? Thanks , Muthu Selvan SR -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe
2013 Jun 15
3
[HELP] BUILD FAILED while Installing ruby-1.8.7-p371 in mac OS...
Hi , I have installed "ruby 1.9.3p429 " already but as per my project required i want downgrade to "1.8.7-p371" while tying with the below command i am getting the below error message , please let me know how to solve this issue ? *COMMAND : **rbenv install 1.8.7-p371* * * Downloading ruby-1.8.7-p371.tar.gz... ->
2013 Jun 21
3
[HELP ] Call java code / method from Ruby programming
Hi All , I have written java code ( This java code will not return any thing but it will do action ) which is required call from ruby , please let me what is best way to achieve this ? Thanks , Muthu Selvan SR -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from
2012 Oct 01
1
active_model_serializers, more than one level deep of associations, specifying serializers per association
I am assuming this an appropriate place to discuss this, but if it isn''t my apologies- just let me know. Just a Rails 4-ish thing. Am attempting to pull AMS (active_model_serializers), strong_parameters, and the "permitter" strategy that Adam Hawkins is using: http://broadcastingadam.com/2012/07/parameter_authorization_in_rails_apis/ Code so far is here (in the
2013 Jun 04
2
Re: Write ordering in Ext4
thanks that answered my question. One more question, is it possible to stop the delayed block allocation in ext4 ? >>> Andreas Dilger <adilger@dilger.ca> 6/3/2013 8:17 PM >>> On 2013-06-02, at 23:33, "Arul Selvan" <Rarul@novell.com> wrote: > Greetings. I am Arul Selvan works for Novell. I am exploring the Ext4 architecture, more specifically i would like
2007 Oct 29
2
UI drop down list pulled from database values in activescaffold
as i''m finding it difficult to override the form Ui elements using activescaffold -= i''m looking for a help to build a drop down list in UI (values pulled from databse through SQL query) and so user can select these valus while submitting to database. pls provide any example strictly using activescaffold plugin. thanks selvan-kalaiselvan
2013 Jun 03
2
Write ordering in Ext4
Greetings. I am Arul Selvan works for Novell. I am exploring the Ext4 architecture, more specifically i would like to understand the write ordering, basically the same blocks is modified more than once, how the write is ordered. Could you point me the doc or the specific source file to look. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2009 Jun 04
3
libogg++ release 1.1.0
Hi everybody, I posted here about two years ago about the initial release. This is a release that fixes many bugs, and has enhancements that make it possible to support a multi-stream format, ALingA, which I will mention briefly later. It also supports a PCM format, Neuro, both as part of the multi-stream codec, and stand-alone. libogg++ is a C++ library implementing Ogg. It is designed to be
2013 Jun 03
0
Re: Write ordering in Ext4
On 2013-06-02, at 23:33, "Arul Selvan" <Rarul at novell.com> wrote: > Greetings. I am Arul Selvan works for Novell. I am exploring the Ext4 architecture, more specifically i would like to understand the write ordering, basically the same blocks is modified more than once, how the write is ordered. Could you point me the doc or the specific source file to look. Writes in memory
2017 Jun 14
2
asterisk 13.16 / pjsip / t.38: res_pjsip_t38.c:207 t38_automatic_reject: Automatically rejecting T.38 request on channel 'PJSIP/91-00000007'
On 06/11/2017 at 06:51 PM Joshua Colp wrote: > On Sun, Jun 11, 2017, at 01:47 PM, Joshua Colp wrote: >> The distributor is in res/res_pjsip/pjsip_distributor.c, the distributor >> function being the entry point. That function returning PJ_TRUE >> indicates to PJSIP that it has been handled and no subsequent modules >> should be called by that running thread. The
2013 Jun 18
2
`require': cannot load such file -- nokogiri (LoadError) in rubyXL
Hi All Getting the below error when running the source code My requirement is : I want read / write the excel sheet ( both xls / xlsx ) from Ruby , if you have any other solution also share with me .. *Source Code :* * * * bash-3.2$ cat rubyXL.rb require ''rubyXL'' workbook = RubyXL::Parser.parse("test.xlsx") workbook = RubyXL::Workbook.new sheet_Name =
2012 Jan 31
3
(de)serialization problem with rails 3.2
I have a custom serializer object that I use for an attribute of ActiveRecord as presented in this article: http://www.edgerails.info/articles/what-s-new-in-edge-rails/2011/03/09/custom-activerecord-attribute-serialization/index.html If I assign a value to that attribute with a form (in my case a nested form), I don''t get the deserialized value in the params hash as it used to be with
2008 Aug 21
3
[LLVMdev] Fix build on GCC 4.3
Index: include/llvm/ADT/APInt.h =================================================================== --- include/llvm/ADT/APInt.h (revision 55101) +++ include/llvm/ADT/APInt.h (working copy) @@ -20,6 +20,7 @@ #include <cassert> #include <iosfwd> #include <string> +#include <cstring> namespace llvm { class Serializer; -------------- next part -------------- An
2017 Jun 05
3
asterisk 13.16 / pjsip / t.38: res_pjsip_t38.c:207 t38_automatic_reject: Automatically rejecting T.38 request on channel 'PJSIP/91-00000007'
On Mon, Jun 5, 2017, at 04:26 PM, Michael Maier wrote: > On 06/05/2017 at 06:29 PM, Joshua Colp wrote: > > On Mon, Jun 5, 2017, at 01:22 PM, Michael Maier wrote: > >> > >> Do you have any idea where to start to look at? Adding additional output > >> in the source code? Which functions could be interesting? I may add own > >> debug code to see why things
2008 Sep 09
3
sort by value fails
hi all, i want use sort_by_value to sort by "username". so in the indexing process i add the value i want sort by as value (lang is php) $document->add_value(0, 'value'); when i sort i got all specialchars at the beginning ? ? ? alf the values be indexed as utf8. what do i wrong? any suggestions? regards, sven
2011 Oct 06
5
Simple ActiveRecord serialise problem
When I create a table with the following SQL: # create table foos (id SERIAL, content VARCHAR(255)); And define a class as follows: class Foo < ActiveRecord::Base serialize :content, JSON end Creating a new instance of the class gives an error: > f = Foo.new NoMethodError: undefined method `read'' for nil:NilClass from