search for: howland

Displaying 20 results from an estimated 39 matches for "howland".

Did you mean: rowland
2007 Nov 15
2
Story adapter and SQLite Was:What command to run all stories?
Hi, by switching to MySQL from SQLite, it fixed the problem. I ran rdebug on it and it is trying to call I ActiveRecord::Base.connection.begin_db_transaction. from ActiveRecordSafetyListener.scenario_started. I don''t think SQLLite likes transactions. Ed On Nov 15, 2007 10:56 AM, Ed Howland <ed.howland at gmail.com> wrote: > If I run the story stand-alone, I get: > ruby stories/additions/addition.rb > Running 2 scenarios: > > Story: simple addition > > As an accountant > I want to add numbers > So that I can count beans > > Scenario: add on...
2007 May 10
2
Problem with translator
...'" do school = OldSchool.new school.add_item ''like ?'' school.collection.should include(''like)?'' end It works ok if the original line is parenthesized school.collection.should_include(''like ?'') Ed -- Ed Howland http://greenprogrammer.blogspot.com
2008 Jun 02
2
get method under 1.1.4 in Stories is undefined
...work doing this: in my first Given: @app = ActionController::Integration::Session.new in some When @app.get page or using Webrat: @aop.visits "/" @app.fills_in field, :with => value Anyone els seen this? Why is creating the AIS needed? Thanks Ed . -- Ed Howland http://greenprogrammer.blogspot.com
2006 Jul 26
4
MasterView rails-optimize (x)html friendly template engine - Release 0.2.4
MasterView is a rails-optimized (x)html friendly template engine plugin that provides another option to the existing rails view templates (rhtml and rxml). The main idea is to provide a template engine that would provide all the power of layouts, partials, and rails helpers but still be editable/styleable in a WYSIWYG editor. It was also a major goal that the syntax of these attribute directives
2006 Oct 25
5
Mocha, Stubba and RSpec
...39;Mocks should work with Mocha'' wrong number of arguments (0 for 1) I could not get alias to work (but didn''t try alias_method yet,) so I just commented out the stub and mock calls in rspec-0.6.4/lib/spec/runner/execution_context.rb Is there a better way to do this? Ed -- Ed Howland http://greenprogrammer.blogspot.com
2008 Mar 04
10
Pretty story output for non-Rails project
I''m taking my first fledgling steps driving a new ruby (non-rails) project with BDD. I''ve got a (test) story working. However, when I run the story in TextMate (via command-r), the output is plain text. See: http://skitch.com/georgeanderson/8grg/run-examples How do I get the output to look pretty (formatted)? rspec-1.1.3 OS X 10.5.2 TextMate v1.5.7 (1455) Thanks, /g --
2007 Nov 15
5
What command to run all stories?
...home/edh/story/vendor/plugins/rspec/lib/spec/story/runner.rb:41:in `register_exit_hook'' from stories/additions/addition.rb:3 This last part is happening in the at_exit part of Test:Unit Also, I don''t understand why the scenario''s are pending. Thanks Ed -- Ed Howland http://greenprogrammer.blogspot.com "The information transmitted is intended only for the person or entity to which it is addressed and may contain proprietary, confidential and/or legally privileged material. Any review, retransmission, dissemination or other use of, or taking of any action i...
2007 Jan 12
2
After upgrade to 0.7.5, specs are now using the development, not the test DB
...d that when I ran my spec/models, the fixtures were overwriting the data in the development environment DB, not the test one. The test environment was being used prior to the upgrade. I am using SQLite3 and an in-memory db for the test environment. Any help would be appreciated. Thanks Ed -- Ed Howland http://greenprogrammer.blogspot.com
2006 Aug 10
4
I need "validates_presence_of" help
Hi - I have 3 fileds a user can fill out. They can fill out 2 of them or just one of them, for example. fill out these 2 fields: Field1 and Field2 Or fill out this field: Field3 In my model how do I use validates_presence_of for Field1 and Field2 or just Field3. I want to do something like this: validates_presence_of Field1, Field2 OR validates_presence_of Field3 So the user can fill out
2005 Oct 28
5
What is Ming
Mentioned by Amy Hoy in the recent ROR podcast. I googled but didn''t find anything. Thanks Ed
2019 Dec 19
5
NIS Domain Does Not Appear
Hi Howland, That is precisely what I cannot do. I do this by windows using Rsat, and when I select the NIS domain to be able to assign the gid or uid it does not appear, so I can't use samba just as a file server. Do you know if there is a way to reset or show NIS Domain? Is there any way to assign uid...
2007 Oct 16
3
One-Click Ruby Installer 186-26 Release Candidate 1
This updates Ruby to 1.8.6 patch level 111 (lots of bug fixes since 1.8.6 was released). It also updates most of the included extensions to their latest versions (see the change log). The final release won''t happen until after RubyGems 0.9.5 is released (which should be any day now) because we want the latest RubyGems version to be included. However, we''re putting out this
2019 Dec 19
1
NIS Domain Does Not Appear
Hi Howland, Thanks for the help, I will redo the structure. It is not complex and not large. Best regards, Gabriel Franca ----- Mensagem original ----- De: "Rowland penny via samba" <samba at lists.samba.org> Para: "sambalist" <samba at lists.samba.org> Enviadas: Quinta-feira,...
2002 May 09
1
Bug report: OpenSSH 3.1p1
...erify that user name matches. */ if (user[0] == '@') { if (!innetgr(user + 1, NULL, client_user, NULL)) continue; } else if (strcmp(user, client_user) != 0) continue; /* Different username. */ Please reply directly if necessary; I'm not subscribed to this list. Royce Howland
2006 Sep 11
1
Aliasing type method in Mocha
...the :type key says it should return. I tried alias Mocha:Mock :type to :otype in my test and in lib/mocha/mock.rb bot to no avail. The alias takes, in that s.otype returns "Mocha::Mock" but the stub method does not really redefine the type method, it stll returns Mocha::Mock Ed -- Ed Howland http://greenprogrammer.blogspot.com
2007 Jun 21
3
Sqlite3, in-memory db and rspec_server
...:in `run'' ./script/spec_server:44: Line 5 is the User.new in the before clause. I have tried this on various versions of things. RSpec 1.0.5, Ubuntu 6.04, Rails 1.2.3, Sqlite 3.2.8, sqlit3-ruby 1.2.1 (gem) And on Ubuntu 7.04, Sqlite 3.3.13 Same results. Any ideas? Thanks Ed -- Ed Howland http://greenprogrammer.blogspot.com "The information transmitted is intended only for the person or entity to which it is addressed and may contain proprietary, confidential and/or legally privileged material. Any review, retransmission, dissemination or other use of, or taking of any action i...
2007 Nov 20
1
How to represent Story of Life grid in Then clause
...the grid should look like: XX. ... ..X How do you set up matchers for the grid at the end. Are all the indented lines after a Then passed to the Then matcher as separate strings with multiple Then()s getting called or a single string separated by new lines? Thanks Ed -- Ed Howland http://greenprogrammer.blogspot.com "The information transmitted is intended only for the person or entity to which it is addressed and may contain proprietary, confidential and/or legally privileged material. Any review, retransmission, dissemination or other use of, or taking of any action i...
2006 May 16
10
Date verus Time class
I''m using the date_select and datetime_select helpers in my view, and they return Date classes from the params hash. But how do I work with Date classes, they don''t print human readable dates or times, Time classes work well I can use strftime("%H:%M") to print to the screen. Is it possible to convert a Date to a Time, Ive been tinkering in irb but have got
2006 Mar 14
21
Changing default date format in Rails
I''ve spent all day digging through the rails api and postgres-pr on this, I think it''s time to ask the list. Postgres stores a Date in YYYY-MM-DD format. My users want the dates in MM/DD/YYYY format. Sure, I could explicitly convert it on the app level every place where a date is displayed, but that seemed like a DRY violation. I thought I''d be clever and simply
2019 Dec 19
0
NIS Domain Does Not Appear
Maybe the AD was not provisioned with rfc attributes? the NIS domain ist saved at: CN=NISDomain,CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,DC=AD,DC=EXAMPLE,DC=COM At least ours is there. Regards Am 19.12.19 um 14:35 schrieb Gabriel Franca via samba: > Hi Howland, > > That is precisely what I cannot do. > > I do this by windows using Rsat, and when I select the NIS domain to be able to assign the gid or uid it does not appear, so I can't use samba just as a file server. > Do you know if there is a way to reset or show NIS Domain? >...