Displaying 20 results from an estimated 1300 matches similar to: "!map:HashWithIndifferentAccess"
2005 Jun 16
3
PostgreSQL Scaffold Doesn't Insert PK?
I am new to Rails and Ruby. I''ve been a WebObjects developer for a few years
and before that J2EE (shudder). I wanted to try RoR so I am porting an
existing Web app.
I am running the latest release on Tiger and PG8.
Right now my single table has three attributes:
id | integer | not null
hotel_name | character varying(255) | not null
hotel_location |
2006 May 14
0
Beware of HashWithIndifferentAccess#symbolize_keys!
Hi,
I just posted a patch tot he rails trac for a bug we found where
running symbolize_keys! on a HashWithIndifferentAccess will delete all
items from the hash. Please make sure you either never call
symbolize_keys! (or to_options! which just alias it) on a
HashWithIndifferentAccess, or apply the path attached from the ticket
at: http://dev.rubyonrails.org/ticket/5076
I also posted a much longer
2005 Dec 03
1
typecasting HashWithIndifferentAccess
I want to typecast an object of HashWithIndifferentAccess (params) to Hash.
Whats the way of doing this (except each?)
Thanks in advance.
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2012 Jun 01
3
Serialized attribute saved as HashWithIndifferentAccess in database
My Booking model has: serialize :custom_data, Hash
From the console it works as expected saving values to the custom_data
attribute.
But when having a form with parameters like
this: booking[custom_data][hello] and creating a new object in the
controller like this: Booking.new( params[:booking] ), values are saved in
the database with added metadata like this: ---
2010 Sep 21
6
Iterate HashWithIndifferentAccess
How do I iterate a HashWithIndifferentAccess? I need to set the order
using a sortable_element.
--
Posted via http://www.ruby-forum.com/.
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send
2007 Sep 25
16
putting away HashWithIndifferentAccess
Hey, campineros. And many good handshakes to zimbatm for getting
some patches applied.
So, yeah, I''d really like to get rid of any serious dependancies with
this 1.6 release. Anything that''s not in stdlib has to go. Of course,
camping-omnibus will still assume the whole ActiveRecord, Markaby,
Mongrel setup that''s in the history books.
Metaid can be removed and
2006 Jun 15
1
SASL AUTH LOGIN mechanism problems
Hi all,
Have anyone had problems with Exhange 2003 servers trying to use sasl
against Postfix+Dovecot SASL using the AUTH LOGIN Mechanism ?
I've done some smtp debugging, and it seems that Exchange sends the
usename at the same time as AUTH LOGIN i.e:
AUTH LOGIN <base64_username>
It then expects to be able to send the password.
mech-login.c silently discards all data after AUTH
2005 Mar 08
2
blacklist
What''s the difference between a newnotsyn DROP and a blacklist DROP?
Also, there''s a web site (SRC=62.193.203.132) that has been trying to
connect to port 25 for a couple of weeks now. Is there a way to get
someone upstream to add a block to that site for a small fish like me?
2010 Jun 20
1
lm for log log
Hi,
It's rather statistical question than R-question.
There is some linear correlation but the picture "plot(a,b) +
abline(lm(b~a))" is quite crowded in the left lower corner. The
picture "plot(log(a), log(b)) + abline(lm(log(b)~log(a))" is much
nicer ("Milky Way"). Is it correct to use the second kind of picture
for illustration ? I use Spearman's rho and
2009 Nov 12
2
request.session_options broken?
I''m implementing simple "remember me" functionality for logging in
users with Rails 2.3.4. I''m trying to set the session expiration date
for some time in the future. After googling around a bit I found this
post which seems to address my problem:
http://squarewheel.pl/posts/3
My modifications to request.session_options are being ignored.
According to this discussion (
2004 Nov 22
2
realtime trafic monitor
ok .. a use iptraf, but iptraf show my evry connection from computerX:
84.135.15.81:4899 > 163 7940 --A- eth0 ?
82.77.210.7:3475 > 212 323323 -PA- eth0 ?
62.231.96.133:80
2012 Mar 16
2
ncd4 package
Hi
I am using windows. I cant install ncdf4 package but it didn't work . any
suggestions!!
--
View this message in context: http://r.789695.n4.nabble.com/ncd4-package-tp4477496p4477496.html
Sent from the R help mailing list archive at Nabble.com.
2019 Mar 20
4
Dovecot Wiki: Please disable edit on double click
Hi Aki,
could you maybe disable the 'edit on doubleclick' feature on
wiki2.dovecot.org?
Everytime I try to select a word by double clicking on it, I end up in
editing mode. It's just a minor thing, but maybe I'm not the only one
who's annoyed by this ;)
Thanks!
Michael
2007 Apr 02
2
Changed: Was: Re: Beta question - initial install of packages Now: Turn off unneeded services after installation
>Date: Sun, 01 Apr 2007 05:38:20 -0500
>From: Johnny Hughes <mailing-lists at hughesjr.com>
>Subject: Re: [CentOS] Beta question - initial install of packages
>To: CentOS mailing list <centos at centos.org>
>Message-ID: <1175423900.13599.88.camel at myth.home.local>
>Content-Type: text/plain; charset="us-ascii"
<snip>
<Even with the mostly
2019 Mar 20
2
[ext] Dovecot Wiki: Please disable edit on double click
On 20.3.2019 12.59, Ralf Hildebrandt via dovecot wrote:
> * Michael Goth via dovecot <dovecot at dovecot.org>:
>
>> could you maybe disable the 'edit on doubleclick' feature on
>> wiki2.dovecot.org?
>>
>> Everytime I try to select a word by double clicking on it, I end up in
>> editing mode. It's just a minor thing, but maybe I'm not the
2005 Jun 12
7
vpnc versus Shorewall problem
Hi everybody,
I have been using Shorewall for quite a while now but I recently
stumbled over a new setup that stopped me cold. I don''t know how to
proceed:
I have an ordinary GNU/Linux box (2.6.11) connected to a nonpublic
network with one interface eth0 which gets an IP through DHCP like
172.17.x.y. Traffic is not routed to the Internet in this subnet. In
order to connect to the
2013 Sep 20
1
updates issue
Since doing "yum update" this morning, an update that installed several
packages, the updater shows me 3 packages to install:
hpijs-1:3.12.4-4.el6_4.1 (x86_64)
hplip-common-3.12.4-4.el6_4.1 (x86_64)
hplip-libs-3.12.4-4.el6_4.1 (x86_64)
but when I attempt to actually run the update I get:
hplip-libs-3.12.4-4.el6.i686 requires libsane.so.1
hplip-libs-3.12.4-4.el6.i686 requires
2011 May 11
1
filtering out unwanted words in a Term Document Matrix
Hi Y'all,
I am using the text mining package (tm). I am trying to filter out all of the words in a Term Document Matrix that are not in a list of words that I am interested in. I am using the following code:
z<-tm_intersect(txt.dtm, c("communications", "safety", "climate", "blood", "surface", "cleanliness",
2013 Jan 14
4
How to open grib file in R?
I have this https://echange-fichiers.inra.fr/get?k=6TdTdezNeZwAqJtpwVm
grib file which is a regular lat-lon 0.25x0.25 degrees and contains 4 fields
.
I tried to open it using :
grib <-
readGDAL("C:\\Users\\aalyaari\\Desktop\\Vol_025_H14_2010060700.grib")
but I got this error:
C:\Users\aalyaari\Desktop\Vol_025_H14_2010060700.grib has GDAL driver GRIB
and has 721 rows and
2011 Jun 23
1
ocfs2 with cman luster stack
hello,
i opened a bug on the ocfs2 bugzilla reporting difficulty i have utilize a
different cluster stack than o2cb.
link: http://oss.oracle.com/bugzilla/show_bug.cgi?id=1325
to summarize i'd like to use ocfs2 on an ubuntu server with drbd and ctdb.
ctdb requires fcntl locks for its lock files. however o2cb doesn't provide
that functionality whereas cman (redhat's cluster manager