lalala 4.0.0.dev.123 → 4.0.0.dev.124
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/lalala/abstract_asset.rb +4 -1
- data/lib/lalala/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74f5936cf38003aafa71842cb319ea6c9bf5fce6
|
4
|
+
data.tar.gz: 0f088b0420cbf9a2a1cd5d261f2b4b3b955b50e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 012df19deb61f6b4571651882d899da650c2806f713f639fa42e7da55b44da14af482c9f3a760c15182349af483cd16272099203546e3041a364f4b073d260de
|
7
|
+
data.tar.gz: 0ad3533eb8cbd740072765b47761bec208abb924e75485f55bef760a122b1c007ef431b0b20bd69140e8bccc4a5b98d95d1db92a9e4d4625009385c8aa039c0e
|
@@ -1,8 +1,11 @@
|
|
1
1
|
class Lalala::AbstractAsset < ActiveRecord::Base
|
2
|
+
include Lalala::ExtActiveRecord::I18nTranslationsWriter::Writer
|
3
|
+
|
2
4
|
self.abstract_class = true
|
3
5
|
self.table_name = "assets"
|
4
6
|
|
5
|
-
attr_accessible :asset, :title, :caption
|
7
|
+
attr_accessible :asset, :title, :caption, :translations_writer
|
8
|
+
|
6
9
|
translates :title, :caption
|
7
10
|
Lalala::AbstractAsset::Translation.table_name = 'asset_translations'
|
8
11
|
|
data/lib/lalala/version.rb
CHANGED