• CONTACT
  • REQUEST A PRODUCT REVIEW

TheTechnologist.TV

  • the column
Home › Blogs

Wolfram Arnold's blog

Nested Attributes and how much fun it is to give a talk with a live demo

Wolfram Arnold — Tue, 07/21/2009 - 23:29

Tonight, I presented at the East Bay Ruby Meetup on invitation of Jon Seidel, the host, a talk about a very cool new feature in Rails 2.3.

  • Entertainment
  • Jon Seidel
  • Josh Susser
  • Paul Lundahl
  • Ruby Meetup
  • Read more
  • Comments

On Improper Gestures or How to Not Recruit Rails Developers

Wolfram Arnold — Fri, 06/26/2009 - 22:15

When we decided to hire to some help for the design and copy writing on our web site, I was particularly pleased with the hunting references Anita came up with for our recruitment services at RubyFocus. What does it take to hire a Rails Developer?

  • API
  • designer
  • recruiter
  • Technology
  • Ward Cunningham
  • Read more
  • Comments

alias_attribute vs. alias_method for aliasing ActiveRecord attributes

Wolfram Arnold — Mon, 06/15/2009 - 18:29

I've just recently run into a situation where I wanted to add an alias for an accessor method that ActiveRecord creates on the fly.

As you know, if you have a column in your schema, then ActiveRecord will automatically set up the accessor methods, like so:

Now, if you want to access the user's name also by, say, "display_name", then you might ordinarily think you could just:

alias_method :display_name, :name

  • Technology
  • Read more
  • Comments

Rails 2.0 with Ruby 1.8.7

Wolfram Arnold — Fri, 05/29/2009 - 18:24

The Ruby 1.8.7 interpreter

$> ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]

has a built-in method named "chars" which clashes with Rails 2.0's String extensions. The problem does not happen for Rails 2.1 or later.

The fix is simple. Add a file to config/initializers/ruby-1.8.7-string-workaround.rb as follows:

  • interpreter
  • Linux
  • Read more
  • Comments

RSpec View testing: Mocking helpers vs. mocking controller methods

Wolfram Arnold — Mon, 05/11/2009 - 17:35

RSpec::Rails (I'm using version 1.2.2 as of this writing) has a really cool feature to test view templates. This is one of the features where RSpec really has a leg up on standard Rails functional tests.

You can test the view templates without the controller actions running, which has the nice side-effect that your actions and your views become less tightly coupled—and you're doing BDD, right?

Here is an example of testing a layout, you can do this without even relating to an action or a view template:

  describe 'layouts/application' do

    before(:each) do
  
  • controller
  • gif
  • rails
  • rspec
  • Read more
  • Comments

The making of my first video

Wolfram Arnold — Wed, 03/18/2009 - 17:31

When I first started talking with Eric about founding RubyFocus, I've always had a strong sense of the story and beliefs I held that I wanted my clients to learn. I felt that just going around talking is one way, but it's one-on-one, and it also is just talking.

  • advisors
  • Europe
  • Technology
  • YouTube
  • Read more
  • Comments
Syndicate content

News

"Open" Mates Apple's Zero Sum
4 days 12 hours ago

@tttv

  • Metaio Unifeye® Mobile#AugmentedReality SDK the 1st to Provide Developers Location Awareness AND Marker Tracking [Video]http://bit.ly/awETVd — 3 weeks 1 day ago
  • Android Flash10 w/AIR in April, Apple stalls w/Adobe on fear of AIR Apps 7.5M iPhones/month request Flash. WshngtonPst: http://bit.ly/b45Lhy — 3 weeks 1 day ago
  • RT @tedsv: James Cameron @ #TED: Curiosity - it's the most powerful thing you own. Take risks. Failure has to be an option. But fear is not. — 3 weeks 3 days ago
  • @ladygaga http://twitpic.com/12qwsl - http://www.ustream.tv/recorded/4649836 http://qik.com/video/4864185 — 3 weeks 4 days ago
  • @ladygaga http://twitpic.com/12qwsl - I made these today when I saw the wave moving across twitter. I rendered the tweets in realtime over a — 3 weeks 4 days ago
  • @poseterous almost perfect service but not properly federated: no @disqus or @apture forces content into wall of text in lonely land. fixit? — 3 weeks 4 days ago
  • Hilarious RT @rww: Reddit: Confused internet users think RWW article on FB is the newly designed Facebook.com homepage http://bit.ly/djfACi — 3 weeks 5 days ago
  • China closes hacker traning site. It's news, yes, but China closes sites that teach the value of free speech more often http://bit.ly/aZ1Y4x — 4 weeks 1 day ago
  • Here's the link to my PadGadget AR App. It turns any phone into an iPad (and works with paper too) http://ardevmob.com/AR/PadGadget/ — 4 weeks 1 day ago
  • Get your virtual hands on iPad w/@ARDevMob's free PadGadget Augmented Reality App. Works w/all smartphones &paper too! http://bit.ly/aPAqdC/ — 4 weeks 1 day ago
  • @johnbattelle retweeted @KarlRove's book recommendation? Wow. Author interview @ColbertReport VIDEO: http://bit.ly/ao3cUB — 4 weeks 2 days ago
  • Beautiful collaborative work from nianluain at #deviantart.com This one involved 7+ artists http://fav.me/d1u8sj2 — 4 weeks 2 days ago
  •  
  • 1 of 18
  • ››
more

  • the column