This file contains 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
✗[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 |
This file contains 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
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 |
This file contains 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
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 |
This file contains 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
@@ -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 |
This file contains 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
json.array! @people do |person| | |
json.name person.name | |
json.age calculate_age(person.birthday) | |
end |
This file contains 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
{ | |
"current_page": 1, | |
"total_count": 33, | |
"total_pages": 7, | |
"_embedded": { | |
"events": [ | |
{ | |
"vanity_name": "it-needs-an-event", | |
"name": "it needs an event...", | |
"description": "dsfsdf", |
This file contains 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
jQuery(function() { | |
return $('#pick_date').datepicker(alert('test'), { | |
onSelect: function(date_text, inst) { | |
alert('test'); | |
return alert(date_text); | |
} | |
}); | |
}); |
This file contains 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
$('#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(); | |
} | |
}); |
This file contains 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
$('#pick_date').datepicker({ | |
onSelect: function(date_text, inst) { | |
alert('test'); | |
alert(date_text); | |
} | |
}) |
This file contains 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
$('#pick_date').datepicker( | |
alert('test') | |
onSelect: ( date_text, inst ) -> | |
alert('test') | |
alert(date_text) | |
) |
NewerOlder