- How old are you going to be?
- What is your favorite color?
- How tall are you?
- What is your favorite food?
- Who are some of your best friends?
- What is your favorite TV show?
- What is your favorite thing to do?
- What is the best part of your day?
- Where would you like to go for vacation?
- What do you want to do when you grow up?
This file contains hidden or 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
actionview (7.0.1) lib/action_view/helpers/translation_helper.rb:73:in `translate' | |
will_paginate (3.1.8) lib/will_paginate/view_helpers/action_view.rb:83:in `will_paginate_translate' | |
will_paginate (3.1.8) lib/will_paginate/view_helpers.rb:77:in `will_paginate' | |
will_paginate (3.1.8) lib/will_paginate/view_helpers/action_view.rb:33:in `will_paginate' | |
app/views/families/show.html.erb:50 | |
actionview (7.0.1) lib/action_view/base.rb:244:in `public_send' | |
actionview (7.0.1) lib/action_view/base.rb:244:in `_run' | |
actionview (7.0.1) lib/action_view/template.rb:157:in `block in render' | |
activesupport (7.0.1) lib/active_support/notifications.rb:206:in `block in instrument' | |
activesupport (7.0.1) lib/active_support/notifications/instrumenter.rb:24:in `instrument' |
This file contains hidden or 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
on alfred_script(q) | |
tell application "Sequel Pro" to quit | |
tell application "Dash" to quit | |
tell application "Tower" to quit | |
tell application "iTerm" to quit | |
tell application "Sublime Text 2" to quit | |
end alfred_script |
This file contains hidden or 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
def total_price | |
[ | |
total_price_without_discounts - self.yearly_discount - self.recurring_coupon_discount - self.special_deal_discount, | |
0 | |
].max | |
end |
This file contains hidden or 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
--- | |
CHANGES | 8 ++++++ | |
Gemfile | 1 + | |
ext/json/ext/parser/parser.c | 2 +- | |
ext/json/ext/parser/parser.rl | 2 +- | |
java/src/json/ext/Parser.java | 2 +- | |
java/src/json/ext/Parser.rl | 2 +- | |
json.gemspec | 2 +- | |
json_pure.gemspec | 2 +- | |
lib/json/common.rb | 21 +++++++++----- |
This file contains hidden or 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
Fixes: CVE-2013-0276 | |
Conflicts: | |
activemodel/lib/active_model/attribute_methods.rb | |
activerecord/test/cases/mass_assignment_security_test.rb | |
--- | |
activemodel/lib/active_model/attribute_methods.rb | 2 +- | |
activemodel/lib/active_model/mass_assignment_security/permission_set.rb | 2 +- | |
2 files changed, 2 insertions(+), 2 deletions(-) |
This file contains hidden or 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
.../lib/active_record/attribute_methods/write.rb | 9 ++++++++- | |
activerecord/test/cases/base_test.rb | 6 ++++++ | |
2 files changed, 14 insertions(+), 1 deletion(-) | |
diff --git a/activerecord/lib/active_record/attribute_methods/write.rb b/activerecord/lib/active_record/attribute_methods/write.rb | |
index 3c4dab3..4684c4b 100644 | |
--- a/activerecord/lib/active_record/attribute_methods/write.rb | |
+++ b/activerecord/lib/active_record/attribute_methods/write.rb |
This file contains hidden or 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
Ruby | |
CoffeeScript | |
JavaScript | |
Java | |
VBScript | |
VB | |
COBOL | |
Easytrieve | |
JCL | |
CSS |
GitHub webhooks for a URL by default only fire on repo pushes. There appears to be no way in the web UI to set up webhooks for other events. And so we go to the API. I prefer to do this type of thing with Hurl.
{
"name": "web",
"active": true,
This file contains hidden or 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
irb> Array(nil) | |
=> [] | |
irb> Array("string") | |
=> ["string"] | |
irb> Array([:blah, :sah]) | |
=> [:blah, :sah] | |
irb> "string".to_a | |
NoMethodError: undefined method `to_a' for "string":String | |
from (irb):5 | |
from /Users/barry/.rbenv/versions/1.9.3-p125/bin/irb:12:in `<main>' |
NewerOlder