June 2009
14 posts
“hey, what is the opposite of the h helper in Rails?”
– #rubyonrails
Jun 30th
“hi there. I’m still quite new to ruby RoR, but I’m trying to write a...”
– #rubyonrails
Jun 30th
New Router kills love →
Jun 28th
class TaskReference < ActiveRecord::Base def destroy # make sure we do not try to destroy non-existing references super if TaskReference.exists? self end end
Jun 27th
It's a Load Alright
class MoveCustomersToStopThru < ActiveRecord::Migration def self.up Load.class_eval do has_and_belongs_to_many :customers end add_column :loads, :customer_id, :integer add_column :loads, :stop_thru_id, :integer Load.all.each do |load| cs = load.customers load.customer = cs[0] load.stop_thru = cs[1] load.save end change_column...
Jun 27th
so it's a plugin, like flash?
RORgasm: guys is there a nice plugin i can use to have sortable ajax tables for my index view?
danabrit: not that i know of.
lifo: it's called javascript
toretore: is that a gem?
lifo: nop. it comes with the browser
lifo: i think
RORgasm: what r u guys talking about?
toretore: so it's a plugin, like flash?
lifo: kinda, yeah
Jun 18th
“All i see and have read is Demanding for this support.”
– WebReservoir in Ruby on Rails: Talk | Google Groups
Jun 10th
“But your dead slow blog updates & info will kill us before Merb 1.1”
– Merb kills people
Jun 10th
“rails still isn’t a good role model for good, idiomatic ruby code.”
– the usual rails-hating bullshitters in #ruby-lang
Jun 8th
“I wonder if I have to spend time to learn RoR”
– #rubyonrails
Jun 4th
great. validates_numericability_of is broken, too
I beg your pardon
It fails for Infiinity
esben_: why would you need to use Infinity?
rds: To store +infinity in the database?
and how do you intend to do that?
rds: IT's postgres
and why?
rds: Because it is the natural value for infinite capacity (in this case)
Jun 4th
Merb Solves Everything
rails is inconsinstent sometimes
convention over consistency
:)
its good that the merb guy its on board now
Jun 2nd
“anyone know why Unicorn.create is throwing this error? MagicalCreatureError:...”
– #rubyonrails
Jun 2nd
Web Applications Should Be Compiled →
Jun 1st