has_accounts 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/booking_template.rb +2 -2
- data/lib/has_accounts/version.rb +1 -1
- metadata +2 -2
@@ -4,9 +4,9 @@ class BookingTemplate < ActiveRecord::Base
|
|
4
4
|
|
5
5
|
# Associations
|
6
6
|
belongs_to :debit_account, :foreign_key => 'debit_account_id', :class_name => "Account"
|
7
|
-
attr_accessible :debit_account_id
|
7
|
+
attr_accessible :debit_account_id, :debit_account
|
8
8
|
belongs_to :credit_account, :foreign_key => 'credit_account_id', :class_name => "Account"
|
9
|
-
attr_accessible :credit_account_id
|
9
|
+
attr_accessible :credit_account_id, :credit_account
|
10
10
|
|
11
11
|
# Default ordering
|
12
12
|
default_scope order(:code)
|
data/lib/has_accounts/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: has_accounts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|