<%= f.select :something, 1.upto(10) do |i| i end %>

Ruby Select tags

by sfusion.myopenid.com, April 02, 2009 11:01, 9 refactorings, tagged with rails, short, select

I find myself doing this a ...

4f5d54213efb6502baab202f3fb2f09e Talk
<%= image_tag @steam_data[4][:image_src] %> # works

<%= image_tag @steam_data.image_src %> # doesn't work

Ruby On Doing it wrong? ScRUBYt

by sfusion.myopenid.com, December 19, 2008 17:38

still getting hassle with a...

4f5d54213efb6502baab202f3fb2f09e Talk
class SteamController < ApplicationController
...

Ruby Doing it wrong? ScRUBYt

by sfusion.myopenid.com, December 18, 2008 19:37, 6 refactorings

Can't help but feel I might...

4f5d54213efb6502baab202f3fb2f09e Talk
# camera related
def frame_diagonal(frame_horizontal, frame_vertical)
	@frame_diagonal = Math.sqrt((frame_horizontal**2) + (frame_vertical**2))
...

Ruby Photograhy methods

by sfusion.myopenid.com, December 05, 2008 11:42, 4 refactorings, tagged with math, ruby, photography, camera, lens

Any comments, corrections, ...

4f5d54213efb6502baab202f3fb2f09e Talk