Commit 4655a6eb2c6783580b6bf60ffd3c985981fbb6ea

Authored by Rafael Manzo
1 parent 19edc232

Updated kalibro_client and removed redundant deprecated persisted and update methods

Gemfile.lock
1 1 GIT
2 2 remote: https://github.com/mezuro/kalibro_client
3   - revision: 9688add754613bd497ec3e94d0cd568a3e5d4f2c
  3 + revision: 00079f05f96c12afe78003ed49f40cb3e404ed0c
4 4 specs:
5 5 kalibro_client (0.0.1)
6 6 activesupport (>= 2.2.1)
... ...
app/models/concerns/kalibro_record.rb
... ... @@ -5,14 +5,4 @@ module KalibroRecord
5 5 include ActiveModel::Conversion
6 6 extend ActiveModel::Naming
7 7 delegate :url_helpers, to: 'Rails.application.routes'
8   -
9   - def persisted?
10   - self.class.exists?(self.id) unless self.id.nil?
11   - end
12   -
13   - #TODO maybe we don't need this method anymore
14   - def update(attributes = {})
15   - self.save
16   - end
17   -
18 8 end
... ...