search for: robsanheim

Displaying 20 results from an estimated 48 matches for "robsanheim".

2006 Feb 07
6
Switchtower not working due to openssl not found
...ile/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 &&\n mkdir -p -m 777 /usr/apps/hello-rails/shared/log" servers: ["www.robsanheim.com"] rake aborted! no such file to load -- openssl "which openssl" returns "/usr/bin/openssl", and I can get an openssl prompt at the command line, so that is installed correctly. I was at ruby 1.8.3 and just upgrade to 1.8.4, thinking that might fix something, but it ha...
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 out there! - Rob -- http://www.robsanheim.com/ http://www.ajaxian.com/
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 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 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 -- http://www.robsanheim.com http://www.seeki...
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 02
5
Firefox extension for ajax debugging
or similar... Is there any extension for firefox so that I can view the source code of ajax returned content? Thanks everybody.
2006 Jul 13
2
Intel Mac, Rails, MYSQL - access denied
Hi, Nuby on Rails here trying to bring up an existing app on a new installation. The whole ruby/rails/mysql/lighty installation was done per the much touted "hivelogic article" that runs through all the steps. I am running into a permission error when I try to do a rake migrate to set up a session database needed by this existing app. Extracted from the trace... ** Execute
2008 May 28
3
Mocking objects to test Rails Controllers
Hi all, I''m currently considering the use of Mocha to aid in writing my Rails unit/functional tests. I currently have a Rails model which mixes in a series of methods to allow it to talk to an external service. The code is roughly of this form: class Person < ActiveRecord::Base include SMSNotifier def send_notification(message) send_sms(number,message) #
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
2006 Jan 16
8
AJAX + Table.
Hello all. I am trying ot load table rows using AJAX based on a search. The following code results in: 1. Firefox renders correctly (Multiple rows inserted into page). 2. Opera renders the entire returned string in one <td> by the looks of it (Bunched up under first header, the <> tags arne''t visible) 3. IE6 does nothing....great ;) This is driving me nuts so any help
2006 Jul 06
1
migrations work from script/console, but not command line
...cord::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 would happen? Platform is mac os x, Rails 1.12, Ruby 1.84, etc, just playing around with the Simplelog blog app. - rob -- http://www.robsanheim.com http://www.seekingalpha.com http://www.ajaxian.com
2006 Jul 11
0
better way to include helpers into application controller/test_helper?
...vide access to text helper at class level def self.text_helper Helper.instance end # instance level def text_helper Helper.instance end # include text_helper as singleton class Helper include Singleton include ActionView::Helpers::TextHelper end - Rob -- http://www.robsanheim.com http://www.seekingalpha.com http://www.ajaxian.com
2006 Jul 12
3
Most efficient way to "increment" a string?
I have members with usernames. In the event that a new member requests an already-existing username, I''d like to automatically "increment" a next-best string: johnny johnny1 johnny2 Knowing RoR, my gut tells me there''s some elegant, concise way to do this, but I can''t think of it. Any advice? -- Posted via http://www.ruby-forum.com/.
2006 Jul 31
0
problems testing helpers - link_to and url_for don''t work...
...ith proper controller/view separation, so just doing a StubController doesn''t cut it. - figure out why the UrlHelper doesn''t see the @controller when doing link_to/url_for/etc - roll these changes into Geoffrey''s plugin or a new one... any thoughts? - Rob -- http://www.robsanheim.com http://www.seekingalpha.com http://www.ajaxian.com
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 Jun 13
5
Can RoR handle a lot of traffic?
And compared to PHP? -- Posted via http://www.ruby-forum.com/.
2006 Apr 06
0
any experience with highspeedrails.com ?
I saw an ad for www.highspeedrails.com come up on my blog, and I was wondering if anyone has experience with them? A basic plan is $34/months... - Rob -- http://www.robsanheim.com/
2007 Apr 10
0
mongrel and log_level
...vironment 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 ticket there? - Rob -- http://robsanheim.com http://seekingalpha.com
2007 Sep 06
1
any reason we can''t use the concise stubs on Object
....5.4/lib/mocha/mock.rb:88:in `stubs'' from /opt/local/lib/ruby/gems/1.8/gems/mocha-0.5.4/lib/mocha/auto_verify.rb:65:in `stub'' from /opt/local/lib/ruby/gems/1.8/gems/mocha-0.5.4/lib/mocha/object.rb:57:in `stubs'' from (irb):14 thanks, Rob -- http://robsanheim.com