Displaying 20 results from an estimated 10000 matches similar to: "Leaky Webrick (?) & image corruption"
2005 Dec 08
7
Help shut down webbrick on mac?
Hello,
I just installed radrails and it will not run the webbrick because a
version is already running on my mac.
I do not know how to shut down the mac version.
Thanks
Regards,
Frank Rocco
farocco-H+0wwilmMs3R7s880joybQ@public.gmane.org
2008 Jan 27
8
Textmate RSpec Bundle ''it'' snippet
It seems to me that the RSpec bundle''s ''it'' snippet is in need of some
love. By default, a newly inserted spec passes. This seems odd as it
is misleading. It also makes it harder find what specs still need to
be completed if you return to an RSpec module after a break.
I propose that the ''it'' snippet is changed to the following:
it
2007 Sep 16
10
I lost the RSpec fight
I''ve been working on a Rails project with one other developer; he was
using Test::Unit, and I was using RSpec. That works OK for a while, but
obviously it starts causing pain when you have to check in two places to
see if a piece of code is properly tested/spec''d, you can''t use TextMate
shortcuts to switch back and forth between code and test, you have to
duplicate
2006 Feb 24
2
reloading in development
I''ve just started getting so odd symptoms working with webrick. I use
TextMate editing my rails apps over a CIFS mount on the server.
Usually when I "edit/save/reload" a page I see the new changes.
However I''ve started getting the same old data and now have to
frequently restart the webrick server to get my changes to render.
What is available to debug on this to
2006 Apr 08
4
Development Environment
I want to be able to code my rails apps either on my Desktop mac or
my Powerbook using textmate.
I want to build a Debian server that runs lighttpd, rails and mysql.
Would I use samba on the server and access the files that way through
TextMate or is there something else that folks use? and should I
use subversion and if so, how would I do that in the scanario I''m
describing.
2007 Apr 30
2
has_many :through polymorphic
Hi All,
I have the following arrangement:
class PickAndPackRequest < ActiveRecord::Base
has_many :transactions, :as => :request
has_many :postings, :through => :transactions
end
class Transaction < ActiveRecord::Base
belongs_to :request, :polymorphic => true
has_many :postings
end
class Posting < ActiveRecord::Base
belongs_to :transaction
end
But when I ask for
2007 Nov 11
8
Autotest with rspec HTML output
Hey all,
I was just wondering if any one has played around with getting
autotest''s rspec integration working with rspec''s HTML output. I really
like how in the rspec textmate bundle the context of the failing code
is inlined with the failing spec along with the exact line highlighted
and a link to the exact spot in reference. However, I rarely use this
nice output since
2006 May 21
12
TDD for Rails book?
It seems like half the people on this list are writing a book on Ruby
or Rails. For all the hints I''ve seen strewn across the list I have
yet to see one that will focus on test-driven development for either
Ruby or for Rails.
If anyone is looking for a topic, please consider this. I''ve been
trying to wrap my brain around the TDD process, but its way of
thinking is
2006 Feb 05
30
Emacs rails.el
Features:
* Management WEBrick - start, stop
* Viewing log files
* Abbrev from TextMate
* Switching between View/Action
http://www.emacswiki.org/cgi-bin/emacs/rails.el
2006 Dec 17
1
Markaby template & layout (can't get them to work together)
Hi all,
I am starting a new rails app with the Markaby plugin (had some issues
installing, but think its working).
First, i created an index.mab file for a controller containing:
h1 "First template"
That rendered fine. Also, I do not have a "def index ..." in the
controller.
Then I created an app/layouts/application.mab file. It didn''t get picked
up until after
2006 May 13
9
Is test driven development for newbies?
I''m still reading other people''s code and going over the books. As I
was doing this a question sprang up in my mind.
Is it wise for total newbies to attempt test driven development from the start?
Basically, if you''re a newbie like me, chances are your tests might
even be broken themselves. Or will attempting to write tests be good
practice for actual coding as
2006 May 17
40
IDE recommendations?
I was wondering if there are any IDEs out there that has autocomplete
features for win32.
It would be perfect if it could do something akin to what DHH is doing
on the screencast hosted on the rails website.
http://media.rubyonrails.org/video/rails_take2_with_sound.mov
Cheers
--
Posted via http://www.ruby-forum.com/.
2006 Jun 13
6
tax a reserved word?
Is tax a reserved word or am I sleep deprived??
I''m working on a shopping cart and have a table called sales_taxes (at
first i named it taxes).
I get the following error when i load the controller:
uninitialized constant SalesTaxis
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
2006 Jan 12
2
Develop locally, Debug Globally?
Total Ruby Noob here. Just in the throws of reading the books and
choosing an isp for my server etc.
If you are developing a "one-off" rails app with the intent of using it
on an isp hosted server, would it normally work better to develop and
debug the thing locally (like on a Mac for instance), and then go
through a round of "move it to the server and retest everything there
2009 Jan 31
1
Test Driven Development in R
Hi,
I wonder what kind of interest there is on Test Driven Development (TDD) in R.
Test Driven Development consists of writing the test before the function, and
iteratively build the function until it passes the test.
Python and Ruby (specially Ruby) have very strong test-oriented cultures. In
fact, in Ruby at least the custom is to do TDD and lately Behavior-driven
development (BDD). In BDD,
2009 Jul 06
8
how to make ZenTest autotest run whenever my tests change
Railsters:
Despite Rails being the only Web platform designed for TDD, a lot of its test
infrastructure is still "cargo cult" - imitating other test rigs instead of
understanding their principles.
Most importantly, tests should run instantly. There''s no excuse for breaking
this rule, and if you invent a platform that can''t obey it then you are doing
something
2006 May 05
31
The perfect development environment?
I am trying to create the perfect development environment for rails
and i dont know exactly which way to go. Do i create a windows
environment or a *nix environment. If i go *nix, what distro is best
suited for rails. I would be using mysql, so that would come in to
play. If i go *nix, i would use apache. Any ideas for the right
environment would be greatly appreciated. I guess the major choice is
2006 Mar 29
42
Production environment for Rails on Win32, anyone interested for a binary release?
Hi all, as part of adopting Rails in my company I had to go through
the hassle of setting up a Rails production environment on Win32
system since we mostly use MS SQL as our database back end and also
because we mostly dealing with customers who become green-blue-purple
as soon as you mention Unix/Linux and run for the door.
I also need to mention that most of our web applications are internal
and
2006 Nov 30
41
TDD killing my joy of Rails
I''ve been working through the book ''Beginning Ruby on Rails E-Commerce''
which is very heavy on Test Driven Development. As in, you have to
write tests for scaffolding methods and validations and crap like that.
And then they fail. And you KNOW its the test not the method. So you
spend 2x the time writing a test that has to be adapted when
requirements change. You
2006 Sep 19
18
Open Source UML Tool for Ruby on Rails?
I am new to web development, Ruby on Rails, and UML as well. I was
wondering if there were any free tools available for UML design.
There is a list of free tools on wikipedia under UML tools, but I don''t
understand if I need a tool that supports the ruby language. If anyone
uses a free UML tool for designing Ruby on Rails apps, please let me
know what you use.