Top Level Namespace

Defined Under Namespace

Classes: Bug

Constant Summary collapse

FIELDS =
%w[priority project body]

Instance Method Summary collapse

Instance Method Details

#test_the_new_recordObject



3
4
5
6
7
8
# File 'lib/test.rb', line 3

def test_the_new_record
  Bug.establish_connection(:host => 'localhost', :port => 3301)
  new = Bug.get(1)
  new.priority = '2'
  new.save
end