o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1337098846.770269: @value" {I" class:EFI"ProcessedAsset;FI"logical_path;F"ems/models/channel.jsI" pathname;F"j/private/var/www/html/development/projects/rails/ems/app/assets/javascripts/ems/models/channel.coffeeI"content_type;FI"application/javascript;FI" mtime;FI"2012-05-15T17:19:54+01:00;FI" length;FiI" digest;F"%056090dadf224a7d75d23ddccc5a5869I" source;FI"(function() { var __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; Ems.Channel = (function(_super) { __extends(Channel, _super); function Channel() { return Channel.__super__.constructor.apply(this, arguments); } Channel.global(true); Channel.storageKey = 'channels'; Channel.resourceName = 'channel'; Channel.persist(Batman.RailsStorage); Channel.url = "/ems/channels"; Channel.prototype.category_ids = null; Channel.isSelected = true; Channel.hasMany('categories', { saveInline: false, autoload: false }); Channel.hasMany('articles', { saveInline: false, autoload: false }); Channel.encode('id', 'slug', 'name', "created_at", "updated_at"); Channel.encode("created_at", "updated_at", Batman.Encoders.railsDate); Channel.encode('category_ids', { encode: function(categoryIds, name, object, channel) { var categories, category, _i, _len; categories = channel.get('categories').toArray(); categoryIds || (categoryIds = []); for (_i = 0, _len = categories.length; _i < _len; _i++) { category = categories[_i]; categoryIds.push(category.get('id')); } return categoryIds; } }); Channel.validate('name', { presence: true }); return Channel; })(Ems.Base); }).call(this); ;TI"dependency_digest;F"%7f278efa77f08a456433a8024f7757c4I"required_paths;F["j/private/var/www/html/development/projects/rails/ems/app/assets/javascripts/ems/models/channel.coffeeI"dependency_paths;F[{I" path;F"j/private/var/www/html/development/projects/rails/ems/app/assets/javascripts/ems/models/channel.coffeeI" mtime;FI"2012-05-15T17:19:54+01:00;FI" digest;F"%c826a0ab1d0c135f04c76754b446e685I" _version;F"%9f3b95dd7ea3030dc35985c0a8020862