Displaying 20 results from an estimated 2000 matches similar to: "filter_parameter_logging"
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
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
2006 May 30
2
ActiveMerchant
Is anyone using ActiveMerchant currently?
I''ve seen it recommended on this list several times, but it seems kind
of buggy and incomplete and I''m having trouble getting it to work.
>From the example at http://home.leetsoft.com/am/, I''ve tried:
gateway = ActiveMerchant::Base.gateway(:authorized_net)
response = gateway.capture(1000, creditcard)
..but it
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
2005 Apr 27
1
Ruby Shipping
To accompany the Payment library (http://payment.rufy.com/), I have
created the shipping library that connects APIs for various shippers
like UPS and FedEx. It is available as a ruby gem:
gem install shipping
or from rubyforge
http://rubyforge.org/projects/shipping
There is going to be some data that will persist for all shipments. For
example, you will not want to repeat the fedex account
2007 Mar 25
3
New Style: describe-it instead of context-specify
Hello,
in the tunk, i found a new style for spec:
describe Foo do
it "should do bar" do
...
end
end
instead of
context "Foo"
context "should do bar"
...
end
end
The Rails-Textmate-bundle in trunk use only the new "describe-it"
style,
What are the reasons for the new style ?
Shall i use the new style from now on ?
Hussein
2006 Feb 06
5
Sentry Plugin - Easy Question I don''t doubt
I am looking at adding the Sentry plugin to one of the applications
that we are working on. I have a need to store some info that will
have to be encrypted and decrypted. I have been going through the
docs for the plugin and the AsymetricSentry class looks like the best
for what we need to do but I am not sure how to generate the key. The
docs say:
This is a shortcut for using an
2006 Aug 17
2
validates_associated bug?
i seem to be experiencing a bug where rails tells me that my
organization object''s associated credit card is invalid (activerecord
validation-wise invalid), when i know it to be valid. this happens
only if i tell the organization to validate_associated :credit_card.
i know the associated credit card is valid, because a) that
credit_card object itself throws no validation errors, and b)
2009 Feb 26
1
Problem w/ActionWebService and Inheritance in Service Params
I have a service method that takes a PaymentMethod which can either be a
CreditCard or a PayPal account. When I request the service and pass one
or the other it always comes over as a PaymentMethod; the service
doesn''t seem to know that the parameter is really a CreditCard or
PayPal. Here''s some sample code that illustrates what I''m talking about
more concretely:
2007 Sep 07
2
My controller became fat trying to handle multiple models - need guidance please
Hello all.
I am experiencing something that has to be fairly common in the rails
world, but I haven''t found a clean solution yet.
I have a SignupController that handles multiple models in a single
form.
Those models are User, UserProfile, CreditCard, Subscription, and
Order.
When the form is filled out and posted, I want to do exactly what I
would do if the form was only for a single
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
2010 Nov 23
1
About available datasets on PC
Hi folks,
Win7
On running;
data(package = .packages(all.available = TRUE))
it displays a list of datasets under:-
Data sets in package ?AER?:
But I couldn't call/load all of them on the list.
> DJFranses
Error: object 'DJFranses' not found
> CreditCard
Error: object 'CreditCard' not found
But I can call/load;
> iris
Whether the list shows all available
2008 Jul 31
4
Widescreen monitor won't configure to a wide screen - SOLVED
Thanks to Ritesh Khadgaray:
> Is there anything I'm missing? Some other configuration file or
> record somewhere I need to tweak?
with gconf-editor, check "/desktop/gnome/screen/default/0/resolution" .
--
Ritesh Khadgaray
?Ph: +919970164885
?Desktop LinuX N Stuff, RHCE
Software Maintenance Engineer, Pune, Red Hat
? ??? ????? ???
That was it!
mhr
2005 Sep 22
2
accessing source code in R packages
Hi,
I am new the R world and would like to know how can I access source codes of
standard functions in R?
Thanks,
Ritesh.
2006 Jul 15
8
Urgent! -- need suggestion
hi all,
I am starting to learn ruby and using ruby on rails. I have one
question. I want to create a webpage that has two sections. The right
section has all the tags (stored in a MySQL table) and in the section I
display websites related to selected tag. I am not sure how to do this
as I have two different actions to be fired in every webpage.
Any suggestion is most welcomed
Regards,
2007 May 09
5
Mobile Number to Mobile carrier mapping
Hi Folks,
Is there a way to find out the mobile/landline carrier name based on the
phone number?
For example, who is the mobile carrier for (415)2345678
I had heard about some query but just don't remember how/what?
Thanks in advance.
Ritesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Feb 18
1
Asterisk Performance in comparission of SER
How much can be the load (How much register and calls Asterisk can Handle simultaneously by asterisk) and what will be the performance of Asterisk (Call Quality) if all the users are on SIP only and uses same Codec, I have all three codecs loaded G.711, G.723, G.729) without media support i.e. ("canreinvite=yes"),
Thanks & Regards
Ritesh Jalan
-------------- next part
2013 Sep 26
1
Re: [libvirt] virDomainGetInfo() returns wrong domain state
Yes, I am sure because other information pulled are correct. And the same way we have used libvirt APIs to extract other informations at different places.
My question is if VM is in shut-off state does it mean running ? IF not, what is the correct state for this VM. I am wondering why the state is 'unsigned char' in virDomainGetInfo, why it could not be 'enum' as it is returning
2011 Jun 30
4
XCP and OpenXenCenter
I just noticed OpenXenCenter (aka OpenXenManager) that is an open source
replacement for Citrix's XenCenter. This tool works with XenServer.
But as per the blog entry:
http://blog.xen.org/index.php/2010/02/09/xen-cloud-platform-installation/
it is also supposed to work with Xen Cloud Platform. XCP is licensed
GPL2 and is a combination of multiple packages.
Has the team looked at the