Skip to content

Commit

Permalink
Reload data after creating new row. Issue #27
Browse files Browse the repository at this point in the history
  • Loading branch information
Oshuma committed Jul 24, 2013
1 parent fd11619 commit 2ef88d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/app_config/storage/postgres.rb
Expand Up @@ -60,6 +60,8 @@ def save!
@connection.exec("SELECT id FROM #{@table}") do |result|
result.each { |row| @id = row['id'] }
end

fetch_data!
end

true
Expand Down
2 changes: 1 addition & 1 deletion lib/app_config/version.rb
@@ -1,3 +1,3 @@
module AppConfig
VERSION = '2.1.6'
VERSION = '2.1.7'
end

0 comments on commit 2ef88d6

Please sign in to comment.