ruby-build --definitions
listet aller ruby versionenrbenv versions
listed alle installierten ruby versionenrbenv version
zeigt aktuell verwendete ruby version anrbenv install 2.0.0.0-p195
installiert eine ruby versionrbenv uninstall 2.0.0-p0
deinstallation einer ruby versionrbenv local 2.0.0.0-p195
setzt die ruby version und schreib diese in .ruby-version
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
@charset "UTF-8"; | |
*, *:before, *:after { | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
html { | |
height: 100%; |
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
#= require jquery | |
#= require jquery-ui/datepicker | |
#= require jquery-ui/dialog | |
#= require jquery-ui/sortable | |
#= require jquery-ui/widget | |
#= require jquery_ujs | |
# | |
#= require_self | |
#= require_tree ./lib | |
#= require_tree ./ext |
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
#= require jquery | |
<% if Gem.loaded_specs["jquery-ui-rails"].version >= Gem::Version.create("5.0.0") %> | |
#= require jquery-ui/datepicker | |
#= require jquery-ui/dialog | |
#= require jquery-ui/sortable | |
#= require jquery-ui/widget | |
<% else %> | |
#= require jquery.ui.datepicker | |
#= require jquery.ui.dialog | |
#= require jquery.ui.sortable |
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
if Rails.env.test? | |
require 'active_record/fixtures' | |
require File.expand_path('../../test/config/geocoder.rb', __FILE__) | |
DatabaseCleaner.strategy = :transaction | |
class DatabaseResetter | |
def self.start | |
DatabaseCleaner.start |
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 Account | |
def initialize(value = 0) | |
@deposit = value | |
@history = ['Account created with 0 deposit'] | |
end | |
def deposit | |
@deposit | |
end |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle', | |
therapists: [ {id: 1, name: "Elli"}, {id: 2, name:"Patricia"}], | |
therapist: {id: 1, name: "Elli"}, | |
actions: { | |
selectTherapist(therapist_id){ | |
this.set('therapist', this.therapists[therapist_id-1]) | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://npmcdn.com/expect/umd/expect.min.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |