Skip to content

Instantly share code, notes, and snippets.

✗[master][~/Code/kyero/dev]$ dcr legacy_web debride . ruby-2.0.0-p247
Checking bundle... OK 👍
These methods MIGHT not be called:
Admin::AccountsHelper
user_types_for_filter_dropdown ./app/helpers/admin/accounts_helper.rb:2-3
Admin::AgentsController
approve ./app/controllers/admin/agents_controller.rb:47-50
awaiting_feed ./app/controllers/admin/agents_controller.rb:53-61
full_cast:
- :photo: http://ia.media-imdb.com/images/G/01/imdb/images/nopicture/32x44/name-2138558783._CB379389446_.png
:star: Sam Worthington
:character: Jake Sully
- :photo: http://ia.media-imdb.com/images/G/01/imdb/images/nopicture/32x44/name-2138558783._CB379389446_.png
:star: Zoe Saldana
:character: Neytiri
- :photo: http://ia.media-imdb.com/images/G/01/imdb/images/nopicture/32x44/name-2138558783._CB379389446_.png
:star: Sigourney Weaver
:character: Grace
2.0.0-p247 :004 > y YayImdbs.scrap_movie_info('0499549')
--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
imdb_id: 0499549
title: Avatar
year: 2009
video_type: :movie
plot: A Paraplegic Marine dispatched to the moon Pandora on a unique mission becomes
torn between following his orders and protecting the world he feels is his home..
rating: 7.9
raw_director: James Cameron
@@ -13,15 +13,15 @@ class CreateJobs < ActiveRecord::Migration
t.integer :recruiter_commission
t.integer :cv_limit_per_recruiter
t.string :status, :limit => 10, :default => "open"
- t.text :keywords, :default => ""
-
+ t.text :keywords
+
t.datetime :listing_start
t.datetime :terminate_at
json.array! @people do |person|
json.name person.name
json.age calculate_age(person.birthday)
end
{
"current_page": 1,
"total_count": 33,
"total_pages": 7,
"_embedded": {
"events": [
{
"vanity_name": "it-needs-an-event",
"name": "it needs an event...",
"description": "dsfsdf",
jQuery(function() {
return $('#pick_date').datepicker(alert('test'), {
onSelect: function(date_text, inst) {
alert('test');
return alert(date_text);
}
});
});
$('#search_text').autocomplete({
source: "/search_options",
minLength: 3,
select: function(event, ui) {
$('#search_id').val(ui.item.id);
$('#search_type').val(ui.item.type);
return $('#search_form').submit();
}
});
$('#pick_date').datepicker({
onSelect: function(date_text, inst) {
alert('test');
alert(date_text);
}
})
$('#pick_date').datepicker(
alert('test')
onSelect: ( date_text, inst ) ->
alert('test')
alert(date_text)
)