similar to: New Style: describe-it instead of context-specify

Displaying 20 results from an estimated 1000 matches similar to: "New Style: describe-it instead of context-specify"

2007 Feb 28
2
rdoc for Spec::Rails
Hi, where can i find the rdoc for rspec-rails. The content of README-FIle of rspec_rails is: "See Spec::Rails" But i couldn''t find Spec::Rails on http://rspec.rubyforge.org/rdoc/ index.html (it is updated to 0.8.0) Best Hussein
2007 Feb 28
1
rdoc for Spec::Rails ?
Hi, where can i find the rdoc for rspec-rails. The content of README-FIle of rspec_rails is: "See Spec::Rails" But i couldn''t find Spec::Rails on http://rspec.rubyforge.org/rdoc/ index.html (it is updated to 0.8.0) Best Hussein
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
2006 Jan 25
24
RailsCron 0.2 plugin
I received feedback from some of you, saying that it would be cool if RailsCron was even easier to manage. So I implemented a graceful start/restart inside of the plugin''s init.rb. If you don''t like it, comment it out and send me the feedback. Also, I finished an update to RailsCron that allows you to attach asynchronous processing methods to your ActiveRecord models. i.e.:
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 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
2013 Jun 27
1
Conference calls wont traverse my trunk
My conference call wont go thru my SIP trunk. I may be missing a dialplan configuration setting as my PCM phone to phone calls go over the (GSM) tunk. The server with the conference: exten => 5777,1,GoTo(conf-confDemo,join,1) [conf-confDemo] exten => join,1,ConfBridge(confDemo/S/1) The server from which some users dial in from: exten => 5777,1,Dial(SIP/$EXTEN}@200_PBX) Any insight
2007 Jul 29
24
View-Driven-Development by Behavior-Driven-Development and RSpec
One of the things that turned me on to BDD and RSpec was speccing views first, that the desired end would drive the development. In previous projects while using Test::Unit I would try to make educated guesses as to what would be needed in the model and controllers to derive the view without actually writing the view until afterwards. This is all because testing relied on each previous
2006 Jul 07
3
Credit Card validation using rails? can i do it on rails?
help me with this one, i need any tutorials regarding this credit card validator -- Posted via http://www.ruby-forum.com/.
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
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)
2008 Apr 03
9
3D-games dosen't work
I'm trying to run Heroes of might and magic 5 tribes of the east, All 2d and direct draw graphics works fine but not 3D graphics. Can some one tell me what I'm doing wrong. I'm using Ubuntu 64 bit on an Acer aspire 5020 laptop. I have an ATI 700x Graphics Card. I'm not using the ATI Drivers
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
2002 Jul 01
2
I Need A Little Help...
Dear Samba Team, I've been introduced to Samba lately and I used it to share a ufs File System in an enterprise system to be accessed through Windows Nt and Windows 2000. I followed the installation steps and to be honest I wasn't sure that the system will run because I lack in experience with this software, also because I was using instructions from a Samba book that I think was talking
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
2007 Jun 14
2
Compression and Excludes not working
Hello, Using rsync 2.6.9: --compress-level=9 brings up an error "Command not found". Also this command: rsync -e "ssh -p 2222" -axzvc --progress --stats patwa@patwanet.co.uk:/home/patwa --exclude=/home/patwa/public_html/dl/ --exclude=/home/patwa/public_html/jithwish/ --exclude=/home/patwa/public_html/senaka/ /home/H/HGBackup13062007 ; sync Works in that it transfers the
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:
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
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
2005 Oct 06
1
Billing: amaflags and accountcode
Hi all, I have about 10 SIP phones for different users defined in sip.conf, each with their own accountcode= entry. There is a global setting in sip.conf that states amaflags=documentation There are 3 IAX->PSTN gateways defined in iax.conf for outbound calls. These do not have an accountcode=, but do have amaflags=billing defined in each. The theory was that all calls should be logged, those