This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Match < ActiveRecord::Base | |
self.primary_key = :match_id | |
has_many :memberships, class_name: 'Match::Membership' | |
has_many :users, through: :memberships | |
validates :match_id, uniqueness: true | |
before_create :get_details | |
after_save :build_memberships_and_update_players_field |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jewlery | |
id, name | |
1, 'ring' | |
JewleryProprietsCategories | |
id, jewlery_id, name | |
1, 1, 33, 'Weight' | |
2, 1, 43, 'Stone' | |
JewleryProperties |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Type | ItemName | Item Image | Lot Image | Certificate Image | Lot ID | Parcel Name | Qty | MainStone Size | MainStone Weight | Shape | Color | Purity | Status | MainStone Lab | MainStone Cert | Weight | Notes | Jew Model | T. Green Price | Metal Weight GR | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Regular | RING | 1 | 6050603 | 18K White | 1 | 1.00-1.49 | 1.09 | OV | FY | SI1 | MEMO | GIA | 2155113306 | 5.10 | M-RE00539 | RRME00539001 | 5,000.00 | 4.06 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prototypes: | |
jewellery: | |
- item_name | |
- item_image | |
- lot_image | |
- certificate_image | |
- lot_id | |
- parcel_name | |
- qty | |
- mainstone_size |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def self.start(opts = {}) | |
path = opts[:path] | |
prototype_name = opts[:prototype_name] | |
prototype_name_column = opts[:prototype_name_column] | |
price_column = opts[:price_column] | |
csv = self.new(path) | |
prototype = self.create_prototype(prototype_name, csv.headers) | |
products = self.create_products(prototype.id, csv.line_items, prototype_name_column, price_column) | |
true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
result = plusTwo(20, function(err, result){ | |
if err | |
console.log(err) | |
else | |
console.log(result) | |
}); | |
plusTwo = function( param, callback){ | |
if !param.instanceOf(Integer) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Da relativ ok | |
Seb Yx | |
10:25pm | |
Seb Yx | |
imi pare bine sa aud asta | |
Popa Alexandra | |
10:28pm | |
Popa Alexandra | |
Seb Yx | |
10:31pm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Primary stats | |
carry: | |
% kills | |
net_worth | |
support: | |
assists | |
deaths | |
mid: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ββββββββββββββββββββββββββββββ | |
βββββββββββββββββββββββββββββββ | |
βββββββββββββββββββββββββββββββ | |
βββββββββββββββββββββββββββββββ | |
βββββββββββββββββββββββββββββββ | |
βββββββββββββββββββββββββββββββ | |
βββββββββββββββββββββββββββββββ | |
βββββββββββββββββββββββββββββββ | |
βββββββββββββββββββββββββββββββ | |
βββββββββββββββββββββββββββββββ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
content.addComponent(new Button("Push Me!", | |
new ClickListener() { | |
@Override | |
public void buttonClick(ClickEvent e) { | |
Notification.show("Pushed!"); | |
} | |
})); |