Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am davidmohara on github.
  • I am davidohara (https://keybase.io/davidohara) on keybase.
  • I have a public key whose fingerprint is 296D CB17 6DF0 061E F7AE E205 79D9 DA8B AC15 FF88

To claim this, I am signing this object:

@davidmohara
davidmohara / spec_helper.rb
Created September 7, 2011 20:32
spec_helper.rb
require 'spork'
Spork.prefork do
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../../config/environment", __FILE__)
require 'rspec/rails'
# Outputs the requires to see if they should be optimized
#module Kernel
@model IPatientModel
<h2>Create</h2>
@{ Html.RenderPartialRequest(Model.PartialRequest); }
public class FooController : BaseController
{
public ActionResult Index([Model]IPatientModel model)
{
return Content("Something");
}
}
public class PatientController : BaseController
{
var custom_wymeditor_boot_options = {
skin: 'refinery'
, containersItems: [
{'name': 'h3', 'title':'Heading_3', 'css':'wym_containers_h3'}
, {'name': 'h4', 'title':'Heading_4', 'css':'wym_containers_h4'}
, {'name': 'h5', 'title':'Heading_5', 'css':'wym_containers_h5'}
, {'name': 'p', 'title':'Paragraph', 'css':'wym_containers_p'}
]
, classesItems: [
<%= Html.RouteLink("Go to Bar Baz Doo Doo page", new { area = "Bar", controller = "Baz", action = "Index"}) %>