Skip to content

Instantly share code, notes, and snippets.

.trix-content ul {
@apply list-disc pl-5;
}
.trix-content ol {
@apply list-decimal pl-5;
}
.trix-content ul {
@apply list-disc;
}
.trix-content ol {
@apply list-decimal;
}
max = 7
count = 7
active = 3
inactive = 4
Waiting on global queue: 25
----------- Application groups -----------
/data/behaving-app/current:
App root: /data/behaving-app/current
* PID: 5507 Sessions: 0 Processed: 137 Uptime: 1h 51m 32s
@messages = @messages
.joins(recommender: { care_team_member: :member })
.where(member: { id: params[:recommender] })
parsed_date = DateTime.strptime(primary_event_params[:scheduled_for], '%m/%d/%y')
{{#each field in fields}}
{{#each error in emberObject.field}}
{{/each}}
{{/each}}
def attending_doctor_id
@patient_care_path.attending_doctor.id if @patient_care_path
end
@mlins
mlins / property.rb
Created May 21, 2012 21:12
Can I somehow access my property instance to build indexes dynamically?
class Property < ActiveRecord::Base
has_many :agents
searchable do
agents.each do |scoped_agent|
string "sort_agents_#{scoped_agent.id}" do
reordered_agents = agents.select { |agent| scoped_agent != agent }
reordered_agents << scoped_agent
reordered_agents.collect do |agent|
require 'rubygems'
require 'oauth'
require 'oauth/consumer'
consumer_key = 'myusername'
consumer_secret ='mypassword'
consumer=OAuth::Consumer.new consumer_key, consumer_secret, {:site=>"http://twitter.com"}
request_token = consumer.get_request_token
Zombie: GET http://backbone-rails3.heroku.com/#addresses
Zombie: GET http://backbone-rails3.heroku.com/#addresses => 200
Zombie: GET /assets/application.js?1294159060
Zombie: GET /assets/application.js?1294159060 => 200
Zombie: Running script from /assets/application.js
$ is not defined
Zombie: Running script from http://backbone-rails3.heroku.com/#addresses:undefined:undefined<script>
Zombie: Running script from http://backbone-rails3.heroku.com/#addresses:undefined:undefined<script>
The page: <!DOCTYPE html>
<html>