similar to: filter_parameter_logging for multi model forms

Displaying 20 results from an estimated 900 matches similar to: "filter_parameter_logging for multi model forms"

2007 Sep 09
1
filter_parameter_logging
Hi, Is there a way to specify keys of a hash in params to filter_parameter_logging. For example, my payment form sends creditcard[:number] and creditcard[:type] in params and I filter these keys using filter_parameter_logging :number, :type. I don''t want :number and :type in other forms to be filtered. Is there a way to solve this? thanks, Ritesh
2008 Nov 21
1
filter_parameter_logging and https
Hi guys I am not pretty sure where to use filter_parameter_logging is it in the configuration file, the model, or the controller. How do I use https? is there any tutorial? thanks --~--~---------~--~----~------------~-------~--~----~ 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
2010 Dec 17
2
Log Filtering Sensitive Data
Hi, I know how to filter passwords, etc etc by using the below filter_parameter_logging :password But if i have params like the below so how do i filter them out. "order"=>{"card_number"=>"4111111111111160"} ive tried the following below but it doesnt seem to work filter_parameter_logging :card_number, :order_card_number, :order How do people do this
2006 Feb 03
3
how to maintain data while using migration
hi all started using migration , gr8 stuff but how can i maintain old data , or import it alongwith schema with same easiness, as in migration we only import schema ? thanks rohit --------------------------------- Yahoo! Mail - Helps protect you from nasty viruses. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Dec 21
2
Can data.frame be saved as image?
Dear R forum I have one stupid question, but I have no other solution to it in sight? Suppose some R process creates graphs etc alongwith main output as data.frame e.g output1 = data.frame(bands = c("A", "B", "C"), results = c(74, 108,  65)) I normally save this output as some csv file. But I need to save this output as some image (I understand this is weird,
2009 Oct 28
1
Authlogic Page View Authentication Help
Hi: I am a newbie at ROR, and I am grasping my head around Authlogic. I am having hard time trying to figure out how can I do the following: in my application controller I have the following helpers: filter_parameter_logging :password, :password confirmattion helper_method :all private def current_user_session return @current_user_session if defined? (@current_user_session)
2002 Aug 03
2
Password Expiration when using LDAP
Hi, We are planning to move all of our win2k server (currenty around 50!) alongwith AD to Linux, we are planning to use LDAP based samba domain controllers for authentication and file/print serving. We are doing a pilot and things are fine till now, just one simple problem, what should we do with our password policy, we have three restrictions relating passwords minimum password length password
2011 May 15
1
(no subject)
Hello, In the documentation section of Python API Website it is written that the generation of python API and documentation is automated using generator.py file. This should produce the necessary files alongwith the documentation in libvirtclass.txt which should be present in docs or python folder. I executed generator.py file but was not able to find the libvirtclass.txt file to get the
2002 Oct 07
1
winbind+samba3.0 pdc on the same machine
Hi all, I am trying to install samba 3.0 pdc alongwith winbind on the same machine, the objective is to allow Squid to use ntlm_auth for samba users existing on the same machine. If I move squid to another machine, join this machine to samba3.0 domain and then use wbinfo, everything works fine. But when I install squid on the same machine as samba and then try to use wbinfo it fails. I get the
2003 Jul 26
1
ref #2655 (PR#3566)
Full_Name: Melinda Teng Version: 1.7.1 OS: Windows ME Submission from: (NULL) (67.118.2.50) Hi, I understand that R 1.7.0 version (onwards) will solve the issue in #2655. However, I still find the same error message. That is, a data matrix defined outside the function containing the stepAIC() (alongwith glm()) is not passed into the function. This data matrix is defined as one of the function
2013 Mar 12
1
Testing for significance of overlap in three sets - mantelhaen test?
Hi, My apologies for the naive question! I have three overlapping sets and I want to find the probability of finding a larger/greater intersection for 'A intersect B intersect C' (in the example below, I want to find the probability of finding more than 135 elements that are common in sets A, B & C). For a two set problem, I guess I would do a Fisher or chi-square test. Here is what
2006 Mar 24
1
To Open Source Or Not To Open Source?
I have been receviving a lot of feedback on Adoppt.com and based on the feedback, I have one question: Should I open source my project? What are benefits / drawbacks? Adoppt employs many principles that I have learned over the years. Alongwith my upcoming Pro Rails book, it will be something nice to give back to the community. So far I think I would like to Open Source the
2012 Mar 08
2
[LLVMdev] A question about DBG_VALUE and Frame Index
Hi, I have a case that is causing me grief in the form of an assert. The prolog Epilog inserter tries to remove Frame Index references. I have a DBG_VALUE instruction that looks like this (alongwith the Frame Index). This is for the Hexagon backend. ************************** fi#2: size=4, align=4, at location [SP-84] DBG_VALUE <fi#2>, 0, !"fooBar"; line no:299
2006 Feb 23
1
Questions about sshd_config man page and comments in the file
Hi , I have two problems when i went through a) the man page of sshd_config and b) the comments quoted in sshd_config file itself. They are given below. a) >From the man page of sshd_config: "If UsePAM is enabled, you will not be able to run sshd(8) as a non-privileged user." I changed the permission of the hostkeys to a non-privileged user and tried to run sshd alongwith
2010 Jun 15
11
mysql gem install not happening on Mac OS Leopard - any inputs at all??
Hello all, Ive got Mac OS X Leopard (10.5.8), ruby 1.8.6 (2009-06-08 patchlevel 369) [universal-darwin9.0] and mysql 5.0.67 installed and working fine with Rails 2.1.0. "which ruby" outputs /usr/bin/ruby. I can see the mysql symlink in / usr/local/mysql. I can also see the mysql-5.0.67-osx10.5-x86 folder in /usr/local . Im trying to upgrade my Rails apps to 2.3.5 but when i try to
2005 Oct 20
2
Can i prioritize my jobs with RSYNC ?
Suppose we have about 1000 files at location 'A' & 500 files at location 'B' & we want them to be transmitted to each other (not exactly synchronizing two location). RSYNC can do that, no issues on that. But i have few queries further. My first query: 1. Can we make some sort of queuing procedure alongwith or through RSYNC. Like in which we can provide priorities to
2008 Oct 11
8
Observing few fields in a form - Best Practise?
Hi, im looking to build a page similar to a shopping cart page. When you change the ''price'' or ''quantity'' fields, the total is calculated and displayed. There are other fields in the form which have no relation to this action. So i guess observe_form is not required. Can someone tell me what the best practise is for this?
2009 Mar 17
4
Preventing a submitted hash from ActiveRecord DB store
Hi all, I have a multi model form (Project with many tasks) and I want to prevent a task from being saved to the DB if it is empty ie. if there is no i/p for that task from the user. I tried the following class Task < ActiveRecord::Base before_save :check_if_empty ... def check_if_empty self.destroy if description.blank? end but i get this TypeError in ProjectsController#create
2009 Aug 07
2
calling a jQuery function from RJS/onclick
Hi, I have the following jQuery function on the head of my page. <script type="text/javascript"> jQuery.noConflict(); /* calling jNice on document ready */ jQuery(document).ready(function($) { $(''div.jNice'').jNice(); }); ..... </script> On page load, this gets called correctly. Now there''s a link on the page that lets me add more
2009 May 11
3
daemons load activesupport 2.2.2 instead of 2.1.0, causing failure
Hi, I have a couple of daemons that im trying to setup to be run for my app. The environment load is as follows.. ENV["RAILS_ENV"] ||= "development" require File.join(File.dirname(__FILE__), "/../../config/environment") And the error I get is #<LoadError: no such file to load -- active_support> #<Gem::Exception: can''t activate activesupport (=