Guest User

Untitled

a guest
Feb 21st, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. <% @rs.each do |rec|
  2. def rec.[](col)
  3. raise "bah, you don't have column #{col}" if !has_key?(col)
  4. super
  5. end
Add Comment
Please, Sign In to add comment