Skip to content

Commit

Permalink
I had mistakenly named Connection#create. Changed to Connection#insert.
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmusrn committed Apr 19, 2010
1 parent 7e2cbf0 commit b3c0689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cramp/model/engine/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def execute_now(sql)
EventedMysql.execute_now sql
end

def create(sql, &block)
def insert(sql, &block)
EventedMysql.insert sql, block
end

Expand Down

0 comments on commit b3c0689

Please sign in to comment.