Displaying 20 results from an estimated 30000 matches similar to: "Rails Day 2006"
2006 May 20
1
Rails Day 2006 -- 24 hour programming contest on July 17th
I just launched the website for Rails Day 2006, the second annual 24
hour Ruby on Rails development contest. Teams of one to three people
have 24 hours to develop a Rails application from scratch. When the
contest is over, entries are judged, and cool prizes are awarded.
http://www.railsday2006.com/
Sponsoring Rails Day is a great way to promote your company to the
geek demographic. If
2006 Oct 17
4
Mocking the rendering of a Rails template
Hello all,
I''m having difficulty setting up mocks such that I can verify that
Rails was going to render the right template file (for example
new.rhtml) and stop Rails from performing the actual rendering.
After peeking at Rails'' internals, I tried two techniques as illustrated here:
http://pastie.caboo.se/18197
Neither worked.
I think the first one failed because Rails
2006 Oct 06
8
Expecting calls with two different parameters
Hello,
I''ve just started using Mocha in the tests for my Rails app, and I''ve
run across an issue with mocking a method that should be called with
different parameters.
How would I setup a mock that expects that a method will be called
once with no paramaters, and a second time with a parameter? I''d be
tempted to shortcut and just do something like
2006 Oct 08
9
Organizing tests and mocha expectations
I''m simultaneously getting into using Mocha and RSpec-style tests
(courtesy of the simply_bdd plugin) and I''m struggling with some
issues while trying to organize my specs/test. Here''s a code example
illustrating the problem:
context "update cliient invalid data" do
include ClientsControllerSpecHelper
specify "should render edit form" do
2007 Feb 17
4
RSpec usage
Hey all,
Trying to get feel for RSpec usage so I''m taking a straw poll...
What''s the largest project you''ve used RSpec on in terms of app LOC
app and spec LOC? Also, how long have you been using RSpec in
"production" code?
-Bryan
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 29
5
Webrat 0.1.0 released - Ruby Acceptance Testing for Web applications
Hey guys,
We developed this plugin while writing my first real set of RSpec
stories. It''s still missing a lot of functionality, but it''s useful to
us as is, so I''m shipping 0.1.0. (Patches welcome. :) )
Code is available at: http://svn.eastmedia.net/public/plugins/webrat/
What do you think?
-Bryan
Here''s the README:
2007 Mar 19
24
alias method spec?
I am completely baffled by this one - My guess is that there is no
pure ruby way to do this - but how could I set up a spec to test that
one method is an alias of another?
Thanks for any help,
Scott
2006 Jun 20
0
Re: Railsday 2006 (Derek Haynes)
I wrote a small personal budget tracking system for railsday.
Check it out at: http://www.rubyupdate.com/signup
Cheers,
Carl.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060620/b445b545/attachment.html
2008 May 14
4
Reuse steps like a method call
If I have a step matcher defined as so:
Given "a user named $username" do |username|
....
end
Is there a way to call it from another step? For example:
Given "a user named $username with a blog post |username|
given_a_user_named(username) # calls existing step code
# create a blog post
end
Cheers,
--
Bryan Helmkamp
http://brynary.com -- My blog
2005 Jun 06
14
Handling Images And Rails
On my website people will be able to upload images of themselves. I
was wondering how people are presently handling uploading, resizing
and optimizing images in Rails? Do you use a specific piece of
software to do it? What would you guys recommend? Any code from
RailsDay? :-)
Also, do you guys store the images in the DB or just as files? What
do you suggest? What are the pros and
2008 Sep 15
1
Help... Organizing multiple spreadsheets data into a huge R data structure!
Hello R users,
I am relatively new to the R program, and I hope some of you can offer
me some suggestions on how to organize my data in R using some of the
more advanced data structuring technique. Here's my scenario:
I have date set of 50 participants (each with conditions and
demographic data), each participant performed 2x16 trials, for each
trial, there was specific information about the
2006 Jun 18
0
Rails Core Weekly June 11 - June 18
This is another edition of Rails Core Weekly, affectionately
known as RCW. A much nicer pre-web 3.0 version is available
from the following url :
http://www.pinupgeek.com/articles/category/rails-core-weekly-news
We have an Atom/RSS feed available there as well.
Rails Core Weekly summarizes the rails-core mailing
list, a list dedicated to Ruby on Rails internals and
its development. RCW is
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 Jun 18
4
MongrelDay Documentation -- Memoirs Of A Web Server
Happy RailsDay!
While everyone else was out having fun with RailsDay I spent my time
wisely and wrote up tons of documentation for Mongrel and cleaned out
some of the docs I''ll never write anyway. I also took the time to apply
some nice patches from Jonas Pfenniger for easily setting up redirects
in Mongrel.
Some of the highlighted documents people will be interested in are:
*
2006 Dec 31
0
backgroundrb 0.2.1 doesn''t always load rails environment
I found this stack trace in my logs. My worker name is MiscWorker,
and Qualifier is a Rails model.
uninitialized constant MiscWorker::Qualifier: /Users/bryan/
Workspace/sandbox/scraper-trunk/config/../vendor/rails/activerecord/
lib/../../activesupport/lib/active_support/dependencies.rb:476:in
`const_missing''
/Users/bryan/Workspace/sandbox/scraper-trunk/lib/workers/
2008 May 11
5
Are you writing "imperative" or "declarative" scenarios in your stories?
Hey all,
I just found Bryan Helmkamp''s (of webrat fame) slides on a presentation
he did at GoRuCo 2008:
http://www.brynary.com/2008/4/26/story-driven-development-slides-posted
On slides 21-24 he talks about writing good stories and shows gives two
examples.. the way not to do it and the way to do it. You can also see
the video of the presentation at confreaks
2004 Jun 03
1
Duplicate/No users in LDAP?
Hello,
as I continued exploring Samba 3.0.4 as a PDC, I managed to get
roaming profiles up ...
Saving changes worked out fine.
I logged in as TheUserWithUID=0 ... and tried to add a user.
Access denied.
The logs for the XP-client contain:
> [2004/06/03 23:10:46, 2] passdb/pdb_ldap.c:init_group_from_ldap(1792)
> init_group_from_ldap: Entry found for group: 513
> [2004/06/03
2007 Apr 07
5
Integration Specs On Rails
Now that RSpec is nearing 1 dot oh, are there any plans to implement
an integration testing equivalent in RSpec On Rails?
2003 Mar 17
1
Seperate servers for home directory space and logins
I'm trying to run the PDC for my domain on a seperate server from the
home directory space. Also, I want each user to be able to FTP in with
their domain username and password and access files in their home
directory and only -their- home directory.
It seems that I would need a seperate linux account for every user on
the home directory server in order to fulfill my FTP requirement. Then