Displaying 20 results from an estimated 90000 matches similar to: "any experience with highspeedrails.com ?"
2006 Mar 23
2
Ruby and RoR Book Roundup
Hello,
I''m a big bookworm, so I decided to round up all the upcoming Ruby
books in the market in one big blog post. At my count, there are
_sixteen_ books to be released (in print) for the upcoming year, with
some available in pdf form right now. Here''s the list:
http://www.robsanheim.com/2006/03/23/ruby-and-ruby-on-rails-book-roundup/
Hope its helpful for fellow book nerds
2006 Feb 07
6
Switchtower not working due to openssl not found
I''m struggling to get switchtower working, and from other posts about
it I know it has something to do with ruby binding to open ssl. I''m
just not sure what I should recompile/reinstall to get things to work.
running: "rake remote_exec ACTION=setup" gives me --->
...executing "mkdir -p -m 775 /usr/apps/hello-rails/releases
/usr/apps/hello-rails/shared/system
2006 Jan 31
1
question on gem update rails effect on fcgi/mysql bindings
Would upgrading rails and all dependancies break the installation of
the fcgi/mysql bindings? I know I had all this stuff working a month
ago or so, but since then I''ve updated a few times...
- Rob
--
http://www.robsanheim.com/ - blog on java, rails, tdd, agility, and
life in general
http://www.ajaxian.com/ - the net''s premier ajax blog
2006 Jul 06
1
migrations work from script/console, but not command line
Having a weird issue where I can migration to version 1, but then go
no further, and cannot go back to 0 -- but only from the command line.
If I open up script/console I can do migrations just fine - down to 0
or up to 2, via ActiveRecord::Migrator. So I know the migrations must
be valid, and I can verify that tables are created or destroyed in the
database.
Does anyone have any idea why this
2007 Jan 07
3
slow tests on an established project...
Hi all
Hope this isn''t too far off-topic on this list, as I think it would
largely go ignored on the main rails list.
I''m looking for the most pragmatic way to speed up our test suite.
This is on an established project, and lets just say that we used way
too many fixtures when we started =). For example:
Finished in 128.870144 seconds.
===============
392 tests, 2106
2006 Jun 26
2
RailsConf DVD ?
Hi All,
I saw spurious mentions on a few blogs of a DVD being made available of
RailsConf presentations. However none seemed to have a who/what/when/where
attached to them, thus might just be pure speculation. Anyone know of an
official source/effort being made for a DVD?
Would be well keen for copy if one is to be made available....
Cheers
Rowan
---
http://raili.st/
-------------- next part
2006 Jun 26
5
using application_helper.rb
I have a simple Yes/No selection list that I am using in a number of
places. Thinking that I could DRY things out a bit, I added it to
application_helper.rb ...
YES_NO = [
[ "Yes", true ],
[ "No", false ]
].freeze
So I figured I would use it there instead of in each model.rb where
needed.
anyway, in webrick screen, I am continually seeing this...
2006 Jun 26
4
why can''t I call this without parentheses?
I have a little helper that lets me add legacy fields to models where
they have common prefixes, suffixes, or something else weird. Here is
the method signature:
def legacy_fields(options = {}, *attributes)
.....
end
options is a hash containing things like :prefix => "post_" - and
attributes is a list of attribute names. This gets mixed into the
class with extend, so I call
2006 Jun 01
1
adding color to autotest output
I was wondering if anyone had a quick an easy way to add color to the
autotest output. I just want a nice green splash somewhere on
success, and red on failure - I miss the Eclipse xUnit plugin''s easy
feedback where I didn''t have to read log output. =)
- rob
--
http://www.robsanheim.com
http://www.seekingalpha.com
http://www.ajaxian.com
2006 Nov 04
0
Book Review: Ruby for Rails
Hi all
I''ve posted a review of David Black''s book _Ruby for Rails_ on my blog:
http://www.robsanheim.com/2006/10/04/ruby-for-rails-by-david-a-black-book-review/
The quick summary: "A fantastic guide to Ruby for programmers of all
skill levels - up there with the PickAxe and may even surpasses it".
Thought some might find it useful.
- Rob
--
2007 Sep 06
1
any reason we can''t use the concise stubs on Object
I like the concise version of stubs available on true mocks:
=> #<Mock:0x32f76d4>
>> foo.stubs(:one => ''hi'', :two => ''again'')
=> {:one=>"hi", :two=>"again"}
Why can''t we do it on ''real'' objects?
>> foo = Object.new
>> foo.stubs(:method1 => ''a'',
2006 Jul 24
4
List etiquette question
I''ve written a little ruby/rails hangman-ish app to keep my wife occupied at
work that I think list members might also find interesting. I''m new to this
list so I wanted to see if it would be considered bad form to post the link
before I did. There aren''t any ads so I''m not getting anything out of more
visitors, but I still didn''t want to take the
2007 Mar 14
1
ruby 1.8.6 includes fastthread?
It looks like fastthread was rolled into 1.8.6:
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/tags/v1_8_6/NEWS?revision=12055&view=markup
Does that mean once we upgrade to 186 we can forget about rubygem version?
- Rob
2007 Apr 03
5
small suggestion - once method on Expectation
I find that a lot of times I want to ensure a method gets called
exactly once, for example when testing caching or eager loading. What
does the list think of adding this little humane method to
Mocha::Expectation?
def once
times(1)
self
end
which means this:
def test_should_only_grab_post_once_from_the_cache
Post.expects(:get_cache).with(google_vs_yahoo.id).times(1)
2007 Apr 10
0
mongrel and log_level
Hi all
I''ve noticed that the mongrel log output when run interactively (via
script/server) doesn''t respect environment specific log levels,
because the logger is initialized way before the
''development_cached.rb'' file is ever loaded (for example).
I''m guessing this is more a Rails issue then a Mongrel issue, so maybe
I should open or search for a
2006 Jul 11
0
better way to include helpers into application controller/test_helper?
Right now, I have the following in my application controller - and a
simliar version is duplicated in test_helper. There must be a better
way to include common functionality like this that gets used across
layers? Maybe at the very least a way to include it at the class
level and instance level with one line?
# provide access to text helper at class level
def self.text_helper
2006 Jul 31
0
problems testing helpers - link_to and url_for don''t work...
So I''ve used the helper test plugin, and also tried some things from
Rails Recipes, and basically neither seems to work for cases where a
helper does anything related to link_to/url_for, and this includes
calling named_routes. This is obviously an issue, as a common use for
helpers is to refactoring something like this:
<%= link_to "text that changes slightly", :id => id
2008 Mar 31
0
log_buddy released - your helpful dev and debug buddy
LogBuddy is your friendly little log buddy at your side, helping you
dev, debug, and test. It plays well with Rails and plain old Ruby
projects. To use it, sudo gem install log_buddy, then require
''log_buddy'' and call LogBuddy.init. It will add two methods to object
instance and class level: "d" and "logger". You probably only want to
use these in non-prod
2008 Apr 04
0
[ANN} log_buddy 0.0.2 released
## DESCRIPTION:
log_buddy is your friendly little log buddy at your side, helping you
dev, debug, and test.
## SYNOPSIS:
Call LogBuddy.init to use log_buddy. It will add two methods to
object instance and class level: "d" and "logger". You can
use your own logger with Logbuddy by passing it into init''s options hash:
LogBuddy.init :default_logger =>
2007 Jan 02
4
allow stubbing of previously defined methods such as "id"
On my current project I needed to create a stub that responded
correctly to the id message. Here''s the change I put into my copy of
head.
Index: lib/mocha/mock_methods.rb
===================================================================
--- lib/mocha/mock_methods.rb (revision 1114)
+++ lib/mocha/mock_methods.rb (working copy)
@@ -68,6 +68,7 @@
method_names =