Skip to content

Instantly share code, notes, and snippets.

Marcin Kornek marcinkornek

Block or report user

Report or block marcinkornek

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Area.js
import React from 'react';
import { View, Text, Button } from 'react-native';
class Area extends React.Component {
static get propTypes() {
return {
name: React.PropTypes.string.isRequired,
};
}
View Area.js
import React from 'react';
class Area extends React.Component {
static get propTypes() {
return {
name: React.PropTypes.string.isRequired,
};
}
render() {
View parking.rb
class Parking < ActiveRecord::Base
belongs_to :address
belongs_to :owner, class_name: 'Person'
has_many :place_rents
accepts_nested_attributes_for :address
before_destroy :finish_place_rents
KINDS = %w(outdoor indoor private street)
You can’t perform that action at this time.