Skip to content

Instantly share code, notes, and snippets.

View heldopslippers's full-sized avatar

Jeljer te Wies heldopslippers

View GitHub Profile
#this does kind of work But the call to backend still has companie_ids: ['1', '2']
@model.get('companies').popObject(company)
@model.save()
App.TodosRoute = Ember.Route.extend
model: ->
@store.findAll('todo')
setupController: (controller, model) ->
#set timesheet and project. else the fixtures don't get loaded
controller.set('todo', model)
controller.set('project', @store.findAll('project'))
controller.set('timeSheet', @store.findAll('timeSheet'))
@heldopslippers
heldopslippers / gist:2762054
Created May 21, 2012 12:10
for steveklabnik
(stupid 140 characters!)
Hi mate,
Just wanted to touch on your video from Montreal.
I didn't quite understand what they were saying, my French has been
sloppy for years. Although i can't "judge" on wether the Police was right or not, I
heard the police officers many times ask the people to move away.
At one point there was an incident and some words where exchanged between the police officer and
source 'http://rubygems.org'
gem 'rails', '3.0.0'
gem 'rubyzip'
gem 'paperclip'
gem 'acts_as_list'
gem 'acts_as_tree'
gem 'ckeditor', '3.4.0.pre'
gem 'capistrano'
WebCMS::Application.routes.draw do
resources :options
resources :fields
resources :forms
resources :folders
#NameVirtualHost *:80
# no www
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1$1 [R=301,L]
<VirtualHost *:80>
ServerName webCMS
ServerAlias webCMS