similar to: Log Filtering Sensitive Data

Displaying 20 results from an estimated 6000 matches similar to: "Log Filtering Sensitive Data"

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
2009 May 08
1
filter_parameter_logging for multi model forms
Hi all, I have a multi model form setup in the classic Ryan Bates Complex forms style (railscasts.com/episodes/73) for my signup page. The two models in this are the Account model and the User model and this structure cannot be changed right now. The User model has password and password_conf attributes which are, unfortunately, taken alongwith the rest of the User''s attributes into an
2010 Aug 13
2
Rails 3 / ActiveModel for Credit Card information?
When submitting billing information in the past I''ve always used attr_accessor for credit card details as they should not be saved in the database. In addition I always end up storing the card expiration date so that the date form helper works correctly. With Active Model it seems logical to create a CreditCard class to hold this data instead. **1st issue.** It seems there still
2007 Oct 13
4
Chapter 9
Hello, I''m currently stunk on this issue for few days and I do not know how to get it fixed. The system always raises this error message : order is closed and here is my order.rb: class Order < ActiveRecord::Base include ActiveMerchant::Billing before_validation :set_status attr_protected :id, :customer_ip, :status, :error_message, :updated_at, :created_at attr_accessor
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
2008 Feb 24
3
1 error(s) on assignment of multiparameter attributes
I am trying to create a form for processing credit cards. For the credit card expiration date, I would like to leave the day field out of the form for obvious reasons. However, the following code is producing an error for me. Any ideas? Thanks! <p><label for="email">Expiration</label><br/> <input type="hidden" id="user_card_expiration_3i"
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)
2009 Oct 07
1
output validations errors form causing type error?
Hi, I was wondering if it is possible to output validation errors in a nested form? I suppose this should be possible, but I am experiencing an error message that I can''t track down. The error I get is the following : TypeError in Store/orders#create Showing app/views/store/orders/new.html.erb where line #45 raised: can''t convert Array into String This is ocurring in the
2006 Feb 07
11
Possible Rails Security Issue?
I have an e-commerce site and users check out with a form. The results of that form are sent to a "confirm your order" page via POST. I take great pains to NEVER store the full credit card number on my server--just the last 4 digits. I was very surprised to find that by default Rails will record POST requests with parameters in the production.log. And those parameters
2006 Jun 19
3
Using a records "id" in validation
I need to use an order''s id value in a validation. Basically, I am charging an order via a credit card API. I only want ot save the order if the credit card authorization was approved. I also want to send the order id to the credit card API as a transaction reference. And last but not least I want to add an error to the order object if the transaction is declined. The problem is
2009 Oct 18
4
NoMethodError in User sessionsController#new
I''m setting up authentication with Authlogic and I get this error. I''ve done some searching but with no success. I tried setting the current_user method in Application_controller to protected and not private, on the recommendation in Stack Overflow. Error in browser----------------- NoMethodError in User sessionsController#new undefined method `require_no_user'' for
2009 Aug 06
13
Redirect after login
Hi, I''m new to Ruby/RoR so please bare with me! I''m trying to adapt a ruby setup where someone logs in to a bonjour service via a web browser. I have the login screen which asks for host and password. There is only one user per host and i can log in fine. It''s suppose to redirect me to /list in my browser but doesn''t. Once i''ve entered the correct
2004 Jan 26
0
Anyone run * on OS X ?
With the 1U Apple G5 server at a good reliability/storage/pricepoint level... got to thinking about compiling Asterisk on OS X.. at least for SIP phone call switching, voicemail, etc. Has anybody attempted this? Email me off list if this is too dev-heavy for the user list. Thanks, Ted W -----Original Message----- From: asterisk-users-request@lists.digium.com
2007 Apr 30
0
[LLVMdev] Boostrap Failure -- Expected Differences?
On Apr 27, 2007, at 3:50 PM, David Greene wrote: > The saga continues. > > I've been tracking the interface changes and merging them with > the refactoring work I'm doing. I got as far as building stage3 > of llvm-gcc but the object files from stage2 and stage3 differ: > > > warning: ./cc1-checksum.o differs > warning: ./cc1plus-checksum.o differs > >
2006 Mar 06
2
form_tag error -- not found, 404 -- action DOES exist!
Hi -- I''ve got a very strange error. I have an action called ''commit_input'' on a controller called ''SiteVisitController''. This definately exists, and is called from the functional test for it, and passes fine. My problem is with the form that is supposed to call this action. The form tag is: <%=
2009 Oct 26
1
IAX jitterbufer oddity
Hi, First a confession - The box in question is a 1.2.35 box, so this may be solved in a newer version as I know the JB code is all hugely changed, but... It may be worth checking into. Scenario: - IAX outbound call from Asterisk, which rings okay. - Remote end sends ANSWER, which we immediately ACK. - The ANSWER control packet gets put into the JB (that's how I read the code) - The remote
2015 Jan 29
1
JITTERBUFFER function
> > 1. Do I need to activate jbenable in sip.conf? Or is it enough to call > > the JITTERBUFFER function? > > You only need to use the JITTERBUFFER function. > > The jbenable option will enable a jitter buffer on every channel > created for that peer (or, if global, for every peer in the system). > Depending on the version of Asterisk, it will also place the
2016 Aug 04
2
Migration from samba3 to samba4 : PDC doesn't not appear in network
Rowland Penny a écrit : > On Thu, 4 Aug 2016 12:12:42 +0200 > JB <jb at eikeo.com> wrote: > >> Hello, >> >> I'm trying to migrate an old PDC controller running samba >> 3.0.4 to a more decent server. Now, I use samba 4.2.10 (from >> debian/jessie). >> >> My smb.conf is : >> >> # Global parameters >> [global] >>
2017 Jun 02
2
setjmp in llvm
Hi,I'm trying to prevent llvm instruction motion around an intrinsic function call. Throughout my experimenting, I was told that setjmp could create fake entry points into a region of code and that might prevent code motion.What I found is something surprising, and probably is a misuse of setjmp but I couldn't find an explanation for it.Consider this:#include <csetjmp> std::jmp_buf
2004 Mar 01
0
[PATCH] pxelinux corrupts ipappend-ed paramaters...
Attached patch addresses following problems with pxelinux: 1. If a x0y number is present in ip address to be ipappend-ed, middle zero is omitted, e.g. 192.168.0.109 is passed as 192.168.0.19. 2. UDP port numbers allocated by pxelinux.0 are 100% predictable, which might cause trouble when client reboots too fast for orphaned tftpd process to time out. The latter problem is [suggested to