similar to: setting up nulldb for fast tests

Displaying 20 results from an estimated 1400 matches similar to: "setting up nulldb for fast tests"

2012 Jul 15
1
APP-ID for using Bing search api through "rbing" gem!
Hello all, I''m currently working on something and I need to use Bing search api in my rails app. I can user a gem called "rbing" which is a ruby wrapper around that api. For creating and instance of RBing class and using its methods I need to pass an APP-ID to its constructor like this -> bing = RBing.new("MYAPPID") for getting a Bing APP-ID I searched a lot and
2012 Jul 18
3
Undefined method error
I have been working on a project based on Michael Hartl''s book Ruby on Rails Tutorial in order to try to teach myself Ruby on Rails. However, when it tries to render a form designed to allow a user to submit a small message, I get an error saying, "undefined method `model_name'' for NilClass:Class". It says the error is at line 1, which is "<%= form_for
2006 Jan 26
0
Rails and suEXEC
I''ve posted my experiences getting Rails running under CGI on a shared host that has suEXEC enabled on the wiki ( http://wiki.rubyonrails.org/rails/pages/RailsAndSuExec). I''m curious if anyone else has dealt with Rails and suEXEC before, and if so what approach they took. Avdi Grimm -------------- next part -------------- An HTML attachment was scrubbed... URL:
2001 Mar 20
2
WINE Corrupting directory names on windows partition
Hi all, I've been running WINE on my Linux-Mandrake 7.2 box. I have a FAT32 windows 98 partition that I've directed WINE to use in wine.conf. I've been noticing that after running programs under wine, some of the directories on the windows partition will have been renamed to names like "$!$!$!$!.dsk" or "$!$!$! $!.prg". Needless to say, this interferes with
2006 Feb 27
0
Session with Indifferent Access?
I noticed yesterday that, unlike many of the the hash-like objects in Rails, the session object doesn''t have indifferent access. E.g. @session[''user''] is not the same as @session[:user]. This violated my POLS, and caused me some confusion until I finally figured out what was happening. Does anyone else find this inconsistent, or am I just being picky? Is it worth
2007 Feb 24
2
RESTful PUT and button_to
I''m working on a RESTful app, and I''ve hit a snag. Here''s a simplified example of the problem. (Excuse me if this example code isn''t strictly correct; I''m typing from memory.) Suppose I have a table which models a simple counter. It has a single column, "count": class CreateCounters < ActiveRecord::Migration def self.up
2013 Apr 09
2
Getting Started
So far I''m disappointed with what I see as red flags. I follow along what seems like foolproof instructions. I install everything, rails new /some/new/app cd to the directory and rails server and my worst fears cryptic useless stack trace...so I copy the top line, search for stuff on this sqllite3 adaptor to fix it, I type the gem install command it mentions (gem install
2006 Mar 13
32
DRY principle form validations
We are wondering how you''d validate a credit card number or a SSN without writing Javascript and Ruby code. Would it be through Rails'' AJAX support? -- Posted via http://www.ruby-forum.com/.
2008 May 27
8
new --pattern option
Hello. You''re saying that: To get rspec to behave as it did before this change, use this: --pattern "**/*.rb" I tried like this (rspec 1.03) and it wasn''t same as before (rspec 1.08). Now it also loads all other files in current directory and in all subdirectories and not only from directory and subdirectories given to spec as a parameter. So, for example, I have
2006 Feb 01
3
Parsing RDF coming from a URL
Hello, i''m writing an application that needs geocoding information for locations outside of the US. I''m using the brainoff.com geocoding service mappoint = Net::HTTP.new(''brainoff.com'', 80) response = mappoint.get(''/geocoder/rest/?city=Gent,BE'') logger.debug response.body and the body of the response is in the following form : <rdf:RDF
2006 Mar 15
4
New RadRails tutorial using AWDWR book
Hello there, I am basically a J2EE refugee fascinated with Rails. I have been using the Spring framework (a lightweight J2EE java framework with some special characteristics) but I am so impressed with RoR that I am porting over many applications. In order to "dive into Rails", of course the second thing to do was get myself an IDE, and since I''ve been using Eclipse for the
2002 Aug 30
1
Can neither find or create RInterpreter.DLL
Hi, I am doing my first steps with R. This worked so far: - Installed R1.5.1 from binary distribution - Installed SJava 0.62.8 from binary distribution - Executed Java statements within R Problem: If I call R from Java, I get an UnsatisfiedLinkError: RInterpreter.DLL not found. This DLL is completely missing, I searched all drives for it. In "Calling R from Java" I found a hint:
2006 Mar 18
24
rails is extremely hard to install
I''m on Mac OSX and I''m about to rip my hair out over how hard it is to install rails. I''ve installed rubygems and am typing "ruby setup.rb" in the command line and get "No such file or directory." I''ve never had to use command lines before so this is alien to me. Can''t they just make installation GUI-based for non-geeks like
2008 Apr 10
2
Procmail died with Signal 11
Hi to all out there, i know this is not the right mailinglist for this issue, but i?m hoping to get maybe here an answer to my problem. i have succesfully migrated 12.000 mailboxes on a debaian with washington imap to maildir on sles10 with dovecot. although i had some post-converting work to do, i can say that almost everything went fine. but there is one problem with my LDA. When postfix is
2002 Sep 03
2
Problem with SJava sample "JavaRCall"
Hi, I am trying to run the example "JavaRCall" with SJava 0.65 and R1.5.1 under Windows NT4.0. Although loadLibrary("RInterpreter") worked successfull, the following error occurs: "Exception breakpoint occurred at line 65 of ROmegahatInterpreter.java. java.lang.UnsatisfiedLinkError: boolean org.omegahat.R.Java.ROmegahatInterpreter.initR(java.lang.String[]) boolean
2010 Mar 03
1
Disabling database access in controller specs
It took a while, but now I an totally convinced that controller specs should not access the database and stub as much as possible. I''m committed to that style of writing, yet from time to time I incidentally allow it to happen. Is there a way to err on the safe side and have RSpec throw an error every time a controller spec attempts to access the database? And does it sound like a good
2008 Jun 24
1
Suggestions on how to use stub_model with webrat?
Hi all, I am using story runner with webrat, but I am not sure how to incorporate stub_model into my tests. The webrat steps only care about the user interface and have nothing to say about interaction with the database. Following Ben Mabey, I have a line in my story like: "When clicks the Create button" And a step like: When "clicks the $button button" do |button|
2008 Apr 24
1
Mail deletion
Hi, when im deleting messages with my mail-client thunderbird, those mails dissapear in the client. but they stay on the server dovecot 1.0.13 on reiserfs. is there a special expunge timer or when will those orphaned messages whiped out of the filesystem? -- ============================================================== Hochschule f?r angewandte Wissenschaften - Fachhochschule Rosenheim
2015 May 15
0
Best practice for getting sieve scripts replicated?
On 5/14/2015 9:32 PM, Michael Grimm wrote: > On 14.05.2015, at 19:21, Stephan Bosch <stephan at rename-it.nl> wrote: > On 5/14/2015 2:46 PM, Michael Grimm wrote: >>> I do have replication between two servers running, and mail is replicated without any issues. >>> I do have sieve running at both servers without any issues. >>> >>> But replication of
2018 Jun 01
0
2.3.1 Replication is throwing scary errors
On 1/06/2018 2:47 AM, Michael Grimm wrote: > On 31. May 2018, at 18:09, Remko Lodder <remko at FreeBSD.org> wrote: >>> On 31 May 2018, at 17:52, Michael Grimm <trashcan at ellael.org> wrote: >>> I would love to get some feedback from the developers regarding: >>> >>> #) are commercial customers of yours running 2.3 master-master replication