similar to: Is params hash frozen?

Displaying 20 results from an estimated 20000 matches similar to: "Is params hash frozen?"

2006 Feb 25
3
Enumerating over a Tree by Depth
I have a model using acts_as_tree which is working fine. Being new to Ruby I''m don''t know what enumerator is best to use for traversing a tree by depth. I can write one, but before I do I wanted to know if there is there an enumerator for traversing trees available that the community recommends? Thank you, Jose -- Posted via http://www.ruby-forum.com/.
2006 Jul 19
3
How do I change :type attribute in a view?
I''m using single table inheritance and want to change the :type attribute from an admin view. How do I do this given that :type has to be handled with special care? -- Posted via http://www.ruby-forum.com/.
2006 Aug 06
1
Where is ActionController::InPlaceEditing?
I can''t find this doc anywhere, but the JavaScriptMacrosHelper doc mentions it. Jose -- Posted via http://www.ruby-forum.com/.
2006 Apr 26
1
Observer best practices
I''ve seen two ways of connecting observers: 1) In the observer class put observe MyModel 2) In the controller class put observer :my_observer What is the difference between these two? Also, is it necessary to put in the observer class the following? MyObserver.instance Jose -- Posted via http://www.ruby-forum.com/.
2014 Mar 17
5
LD50
Quiero comparar varias dosis letales 50% (LD50) usando análisis probit. He seguido un ejemplo que viene en paquete DRC, pero no obtengo el resultado esperado. Lo que quiero es saber si las LD50s, son diferentes y si la diferencias son estadísticamente significativas. Gracias de antemano. José Arturo e-mail. jafarfan@uady.mx <grejon@uady.mx> e-mail alterno. jafarfan@gmail.com
2009 Jun 20
1
can't modify frozen hash
Hi, When I upgraded my rails application to rails 2.3.2 I am getting error ''can''t modify frozen hash'' on using @something.update_attribute(params[:something]). Can anyone help me who is familiarize with this bug? Thanks,
2010 Mar 23
0
Frozen hash problem
I''d like to delete some records before saving them. I ran this experiment: before_save :prune_lab_datas def prune_lab_datas lab_datas.each do |lab_data| lab_data.destroy end raise lab_datas.to_yaml end But nothing seems to be deleted in the hash: --- - &id001 !ruby/object:LabData attributes: created_at: 2010-03-21 22:16:06 unit_id: "3"
2008 Jun 13
1
TypeError (can't modify frozen hash) - Production Mode Only
Well, I''ve been testing out my code in production mode, in anticipation of being able to show off my site soon. Unfortunately, all is not going as expected. Production mode... well, its behaving differently than development did. I''ve already had login validation issues, and now it seems that my PM system is broken. If a user enters a non-existent username as a recipient of a
2006 Jun 18
4
share an hash ..
Hello, How to share an Hash between all objects (model, controller ect ...) => I did a static Hash in my model where a static method fill it basically, this is the code class Person < ActiveModel @@anHash.new def Person.anHelperMethod(aKey) if anHash.size==0 ... load the hash, some SQL to fill the Hash end return anHash[aKey] end => The problem,: it always
2008 Jul 12
0
R-outlet: Journal of Statistical Software
The Journal of Statistical Software was founded by Jan de Leeuw in 1996. Currently, there are 26 volumes with 260 aricles and the journal publishes about 4 new volumes per year. The web address is www.jstatsoft.org. All articles are pdf files, since 2005 all produced from JSS LaTeX templates. JSS is edited by Jan de Leeuw, since 2005 jointly with Achim Zeileis of the Wirtschaftsuniversität Wien.
2015 Mar 09
2
Upgrading Xen 3 on SL 5 server with CentOS 5 and SL 5
On Mon, Feb 23, 2015 at 9:49 PM, Nico Kadel-Garcia <nkadel at gmail.com> wrote: > On Sun, Feb 22, 2015 at 4:41 PM, Pasi K?rkk?inen <pasik at iki.fi> wrote: >> On Fri, Feb 20, 2015 at 10:07:54AM -0500, Nico Kadel-Garcia wrote: >>> Sorry about the accidental bulky quoting! Boston public transit is still slow from storms, and I'm using my phone right now.
2015 Feb 22
2
Upgrading Xen 3 on SL 5 server with CentOS 5 and SL 5
On Fri, Feb 20, 2015 at 10:07:54AM -0500, Nico Kadel-Garcia wrote: > Sorry about the accidental bulky quoting! Boston public transit is still slow from storms, and I'm using my phone right now. > > Also, has Xen console access gotten any better for fully virtualized guests? I've just been forcibly reminded how awkward it was to access the Linux installation screens to manipulate
2016 Sep 30
7
libLTO C API stability policy
Hi all, libLTO is exposing a very “stable” (in the sense of immutable) C API to be used by linkers (and binutils tools) that manipulate bitcode (like when performing LTO). I’m looking into relaxing the stability concern and design a policy for this API that would allow to deprecate and remove some the APIs exposed here. The MacOS linker (ld64) is one the users of libLTO, but there are others
2000 Nov 21
1
Exist the S 'dates' function in R?
Good afternoon, I am a new user of the R application, and I don't know to much about the lenguage. I am trying a to run some of the S programs I have, and some of them are crashing with the "dates" function. This function translate a character string into a 'dates representation object'. Do you know if there is a similar function in R? Thank you very much for your help
2007 Apr 18
0
catching frozen hashes
Hello I have been wrestling w/ the frozen hash problem in a script and I''m trying to catch this at the source where it crashes the program in flames. Unfortunately, when I look at the errors, the failure is way up in the active record ancestery chain. Here''s the first entries in the error output:
2009 Mar 09
4
DAHDI and B410P (BRI)
Hi all, I am having trouble setting the signalling method for the B410P using DAHDI. Asterisk complains that it has never heard of 'bri_cpe' or 'bri_net' - but it doesn't mind having 'pri_cpe' etc. ERROR[4294]: chan_dahdi.c:11327 process_dahdi: Unknown signalling method 'bri_net' Dahdi - dahdi-linux-complete-2.1.0.4+2.1.0.2 Asterisk - 1.4.23.1 Libpri - 1.4.9
2009 Jun 22
1
getting error can't modify frozen hash
Hi, When I upgraded my rails application to rails 2.3.2 I am getting error ''can''t modify frozen hash'' on using @something.update_attribute(params[:something]). Can anyone help me who is familiarize with this bug? Thanks,
2006 Jul 03
2
new clamav update miss 'clamav' user/group creation/update
Hi folks, Just updating clamav 'bundle' from old 'clamav-server' (i think the just previous) and i noticed that the 'clamav' user/group for this pkg is not created by default by the rpm pkg. At the same time, the /var/log/clamav is not updated/created with clamav.clamav ownership, Don't know if it is my actual config (previous one untouched anyway), but this is what
2015 Feb 20
4
Upgrading Xen 3 on SL 5 server with CentOS 5 and SL 5
I'm dealing with an old Xen 3 server, and badly need to update it and all the vm's on it to more contemporary operating systems. So far, so good! Can the Xen server on CentOS 5 para-virtualized CentOS 6? And if not, I'm having real trouble getting a live cd or installation media to boot in full virtualization to do the update of the guests. I'd normally start by updating the Xen
2010 Apr 15
6
manipulating mails
Hi all, sorry for my inexperience. I am still learning. I searched for a while but found nothing useful. I am looking for the best way to manipulate headers, bodies, attachments, locations, folders and/or flags while using deliver and e.g. perl. In other words manipulating the whole mail in respect of the requirements of the LDA, MUA and User. I see two diffent ways. As i understand I can