Displaying 20 results from an estimated 400 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
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:
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
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 =
2007 Nov 19
0
does anyone how to customize search query>?
i wanted to customise the defaulte search to have my own fileds -
based on teh user selecting the fields the query should dynamically
pick up and return search. i need this to be done in ActiveScaffold
plugin.
does any one know how to do this and share sample code?
--selvan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2004 Feb 19
1
packet discarding
Hi,
I am stuggling in packets discarding whenever
the packets are exceeding bandwidth. I like to
delete/drop/discard the packet on source based
whenever it exceeds the specified bandwidth.
Pls. help me with sample coding/techniques.
Regards,
Kalaiselvan.
2008 Nov 19
0
Re: [CentOS-devel] CentOS for router product
Arut Selvan wrote:
> I have been told by my boss to do a feasability study of using CentOS
> for our routing product.
>
> I have some basic questions regarding CentOS. Please clarify.
>
> 1. Is the kernel used by CentOS pre-emptible/non-preemptible ?
>
> 2. Does CentOS allow for assigning of process priorities (e.g in VxWorks
> task priorities can be set at creation
2018 Nov 07
2
error unserializing ascii format (v2 or v3)
I ran into an interesting error unserializing a file created with
ascii=TRUE:
R 3.5.1 (Windows or Linux):
> unserialize(serialize(list(raw=as.raw(c(39,41))), NULL, version=2,
ascii=TRUE))
Error in unserialize(serialize(list(raw = as.raw(c(39, 41))), NULL,
version = 2, :
ReadItem: unknown type 29, perhaps written by later version of R
The same error happens when the
2013 Jul 15
2
Serialize data.frame to database
Dear R-Users,
I need a very fast and reliable database solution so I try to serialize a data.frame (to binary data) and to store this data to an SQLite database.
This is what I tried to do:
library(RSQLite)
con <- dbDriver("SQLite")
db <- dbConnect(con, "test")
dbSendQuery(db, 'CREATE TABLE frames("simID" INT, "data" BLOB)')
data.bin <-
2020 Oct 29
2
Something is wrong with the unserialize function
Hi all,
I am not able to export an ALTREP object when `gctorture` is on in the
worker. The package simplemmap can be used to reproduce the problem. See
the example below
```
## Create a temporary file
filePath <- tempfile()
con <- file(filePath, "wrb")
writeBin(rep(0.0,10),con)
close(con)
library(simplemmap)
library(parallel)
cl <- makeCluster(1)
x <- mmap(filePath,
2006 May 15
2
retrieving hashes key & values (ASAP)
Hi,
I want to retrieve the set of key & values which returns from a
stored procedure : connection.select_all "exec common.dbo.scr_lookupric
''AAP.N'' ".
The results i want to display in a view screen call result.rhtml.
Please help me out ASAP.
Thanks in advance.
joshua...
--
Posted via http://www.ruby-forum.com/.
2006 May 15
3
Are the hashes faster than activerecord finds ?
Hello, I need to store somewhere one hundred of static ressources text
field (internationalization).
I wonder if it better to put them in a database or in a hash defined at
app startup (in environment.rb)
I would go to the second one, but am I right ?
Thanks
--
Posted via http://www.ruby-forum.com/.