similar to: Anyone using the rspec textmate bundle with Ruby 1.9.1

Displaying 20 results from an estimated 400 matches similar to: "Anyone using the rspec textmate bundle with Ruby 1.9.1"

2009 Jun 25
2
Bad Form?
Hi, This is my first post, I wanted to ask a quick question about "Bad Form" -- rather, am I doing something with Mechanise I shouldn''t be doing? Here''s the long and short of it - I am using Mechanize with Cucumber and RSpec to test a *ahem* Perl XML web service.. talk about technology soup, but I have it working quite well. I have an example project on GitHub that
2009 Oct 30
1
Any pioneers who've configured passenger to support some apps running in 1.8.x others in 1.9?
Passenger configuration selects which ruby executable to use via a global configuration variable (at least for Apache, I assume it''s the same for Nginx). I''m in a situation where I''ve got at least one rails app I''d like to run on 1.9 while others remain on 1.8. This is for my development machine running OS X 10.6. Normally I just use the Passenger PrefPane,
2009 Apr 26
9
Problems running features with Textmate Cucumber bundle
I finally plunked down for the beta RSpec bundle and I''m working through the initial example. Although I''m a fairly experienced RSpec user, I''m stlll learning new tricks. Anyway, I''m going though the mastermind example, and everything is going well, except that I decided to also try out the Textmate bundle for Cucumber. I decided to use Ben Mabey''s
2010 Apr 28
0
Route globbing in Rails 3 beta 3
I was just playing around with the new routing dsl to answer someone''s question on the general rails forum. I wanted to see how Rails3 handled globbed routes. So I added this to routes.rb get ''forum/*path'' , ''forum#show'' And had the show action just display the params. with a URL of /forum/a/b/c I got {"path" => "a/b/c"}
2011 Apr 07
0
accepts_nested_attributes_for, validations, :inverse_of option on associations, and IdentityMap
This feels more like a question to ask the core list, forgive me if I trespass. I''ve been trying to help one of my cow orkers get through a sticky problem. He''s got a fairly complex nested form to update a model and its children. He''s started adding some validations, and we''ve encountered a number of issues: First he had a validation on one of the child
2009 Jun 30
0
ri_cal 0.7.0 Released
Subject: [ANN] ri_cal 0.7.0 Released ri_cal version 0.7.0 has been released! * <http://ri-cal.rubyforge.org/> * <by Rick DeNatale> A new Ruby implementation of RFC2445 iCalendar. The existing Ruby iCalendar libraries (e.g. icalendar, vpim) provide for parsing and generating icalendar files, but do not support important things like enumerating occurrences of repeating events. This
2007 Jan 09
6
spec not running in TextMate
I tried running a spec with command-r in TextMate and got: /Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/ lib/spec_mate.rb:1:in `require'': No such file to load -- rubygems (LoadError) from /Library/Application Support/TextMate/Bundles/ RSpec.tmbundle/Support/lib/spec_mate.rb:1 from /tmp/ temp_textmate.GplhPr:3:in `require'' from
2007 Nov 28
6
textmate bundle
Does anyone else have issues running rspec textmate bundle? I''ve got revision 2997, but the blasted thing just won''t run. It is checked out to my /Users/zdennis/Library/Application Support/TextMate/Bundles/RSpec.tmbundle When it runs I get the below error... "textmate" is not a valid class name
2007 May 18
1
problems with textmate and rspec bundle
Folks, I saw David''s tutorial yesterday at RailsConf and started working on RSpec lastnight and am having a *ton* of trouble with the bundle for TextMate. I''ve made *some* progress, but thought I''d throw it to the list * I run ruby, including rb-rubygems using the MacPorts install (per JDD''s Sandboxing Rails) * installed rspec 0.9.4 (also rcov 0.8.0.2 and
2009 Aug 12
5
Challenge for object_id, Garbage Value
I am facing strange problem. I have an object @part=MainPart.find(:all) 1. @part.each_with_index do |mainpart,index| 2. <p><%= mainpart.object_id%></p> 3. end Here problem is that object_id is reserved for rails. Here object_id field in my table . Now i want to get value <%= mainpart.object_id%> is giving GARBAGE VALUE. Is there any solution apart from
2011 Feb 03
2
Possible to ask rspec to show more code in the debugger?
This came up from an other issue where I needed to go check something in test::unit. Immediately when I dropped into the debugger in test::unit I saw something I have been missing: test unit by default shows a number of lines of code. Is there a way to make the rspec debugger do this? I am not sure if it is just me, but seems to me that when I moved to rspec, certain things which seemed to be
2011 May 10
1
Rationale for an absence of a native file-logging configuration option for OpenSSH-Server
Good afternoon, I wanted to ask quickly about the rationale for not allowing explicit declaration of a log file to receive logging output. Whilst using syslogd is convenient for system processes, for short-lived applications, such as booting an SSH server (and wishing to monitor it) for testing purposes? having to also configure syslogd to receive output is inconvenient. I ask because it seems
2009 May 24
11
Class method not being stubbed
Hi guys. I''m setting an expectation on a class method. For some reason, the method isn''t being stubbed, and the expectation isn''t seeing the call. In KeywordListsController#create, I call the private method #create_keywords_and_associate, which calls AdSenseHeavenParser#parse . Thus, some of my specs set an expectation on AdSenseHeavenParser#parse . However, that
2009 Dec 27
5
Difficulties in understanding Rail-Plugins in depth
Hi, i try to understand how plugins work in detail. Often you see stuff like: class Post < ActiveRecord::Base   acts_as_commentable end I wonder what''s happen all there. What kind of language-feature is behind this call "acts_as_commentable" ? In my opinion you need some kind of extend or include to extend the functionality of a model. And exactly this is which i found
2007 Nov 23
1
Textmate Bundle Errors
Hi, Running #rake spec seems to work as expected, however using cmd+r in textmate does not. I assume Textmate has some specific references to rails or ruby which I have not set. I have set the TM_RUBY to /usr/local/bin/ruby as suggested in the RSpec docs. I am running OS X 10.5 with a manually compiled ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.10.1] and gem 0.9.4. This was installed
2011 Apr 28
3
difference between validate and validate_on_create
i just ran into a problem with some test, and i am not exactly sure why, but the difference happened when i changed my model validation from: validate :custom_validation to: validate_on_create :custom_validation can someone give me any ideas on where in the chain the validation takes place? thanks! -- Posted via http://www.ruby-forum.com/.
2010 Apr 13
1
People Centric recherche plusieurs développeurs Ruby on Rails
Un bon job de Developpeur Expérimenté Ruby on Rails, sur logiciel marketing digital, équipe pro, Paris 2, Sté Cotée, Paris Rou SiliconValley. Veuillez consulter le lien suivant pour plusieurs détails: http://www.people-centric.fr/2010/01/27/type/6368-job-developpeur-ruby.html/fr/ Cordialement, Roxana Stefan Malene Chargée de recrutement en IT Mail:
2009 Dec 25
2
Understanding “create_association” and invalid objects
The documentation on the “create_association” method of the “belongs_to” association reads: > create_association(attributes = {}) > Returns a new object of the associated type that has been instantiated with attributes, linked to this object through a foreign key, and that has already been saved (if it passed the validation).* My expectation from this documentation is that calling
2010 Feb 10
7
undefined method join
Hey all, I get an undefined method `join'' for #<String NoMethodError. student.rb has_one :student_fail attr_accessor :student_fail_attribute #controller def student_fail @student = @student.find params[:id] def update_student_fail @student.build_student_fail params[:student][:student_fail_attribute] if @student.save #view form_for @student do |f|
2009 Jun 09
8
Ui Designing with Rails opposed to PHP
Why are there more web design users using PHP instead of using Rails? Is there an advantage using PHP over Rails? Thanks -- Posted via http://www.ruby-forum.com/.