28 Dec '16, 3pm

I wrote a thing about Rails and Timezones yesterday!

Rails, timezones, and existentialism Dec 27, 2016 As part of my day job working on Postmark , we encountered an odd issue in our Rails app. After a bunch of debugging and narrowing down the problem, we got it to the simplest example we could get. Date . today . today? => false What’s this? Today isn’t today? Luckily, Ruby and Rails are open source. So, we can do some digging and figure out wtf is going on. Let’s see what’s going on in Date.today . We see that this method is part of Ruby’s standard library, which is written in C. I’m not familiar at all with C, but I found a great Stackoverflow post by Andrew Marshall which helps explain things. The important part of the code for us to pull out is that Date.today uses the localtime function , which returns values in the computer’s timezone. So, whatever timezone the server is set to, Date.today will return that date. Now, l...

Full article: http://nickcanzoneri.com/ruby/rails/timezone/2016/12/27/r...

Tweets

Using ActiveSupport::Multibyte::Chars for the 1...

api.rubyonrails.org 29 Dec '16, 11am

Chars enables you to work transparently with UTF-8 encoding in the Ruby String class without having extensive knowledge ab...

[email protected] will tell us about @github fight wi...

rug-b.de 04 Jan '17, 3pm

Ruby on Rails is currently aware of 32 time zones. There is no global standard defined for the daylight saving time (DST)....

JQuery JavaScript library that was a part of th...

rubyflow.com 27 Dec '16, 6am

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

#ruby #rails

bibwild.wordpress.com 29 Dec '16, 9pm

While the new architecture most immediately effects class-reloading, the new API is, for the most part, not written in ter...

ruby: rails/exception_wrapper.rb at 5-0-stable ...

github.com 31 Dec '16, 4am

Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository

for those learning ruby on rails

railstutorial.org 28 Dec '16, 2pm

Newly updated for Rails 5, the Ruby on Rails Tutorial book and screencast series teach you how to develop and deploy real,...

ruby: Optimize Journey::Route#score for url_for...

github.com 30 Dec '16, 10pm

Thanks for the pull request, and welcome! The Rails team is excited to review your changes, and you should hear from @arth...

ruby: Rails 5.0.0beta2: Weird behaviour of conf...

github.com 31 Dec '16, 4am

I'm facing a weird issue with the new config belongs_to_required_by_default In first app created with rails 5.0.0beta1 and...

I would like to hire a Ruby on Rails Developer ...

freelancer.com 28 Dec '16, 12am

ruby on rails developer for hire , hire ruby on rails developer india , hire ruby on rails developer , hire ruby on rails ...

“NetBeans 8.0.1にRuby on Railsプラグインをインストールする手順 -...

oiax.jp 28 Dec '16, 2am

Kindle本『Elixir/Phoenix 初級①』を出版しました Kindle向けに技術書を3冊出してみて思ったこと 「顧問プログラマ」再考 システム開発を内製するか外注するか 『実践Ruby on Rails 4』の Baukis を R...

La partie TP de la formation Rails est disponible

grafikart.fr 28 Dec '16, 1pm

Maintenant que l'on a fait un petit tour du propriétaire je vous propose de découvrir ce que donne Ruby on Rails dans un c...

13 Sites You Love Built With Ruby On Rails

13 Sites You Love Built With Ruby On Rails

jollyboss.com 29 Dec '16, 2pm

If you are reading this, you are probably into Ruby and obviously heard of Ruby on Rails – a useful and super popular web ...

[updated article] @letsencrypt with acme-client gem for #ruby #ssl #certificates #capistrano

[updated article] @letsencrypt with acme-client...

beyondscheme.com 27 Dec '16, 10pm

What differentiates Let’s Encrypt from other Certificate Authorities is that Let’s Encrypt has ninety-day lifetimes for ce...

Learn Node.js or Ruby on Rails? via /r/webdev

reddit.com 25 Dec '16, 6pm

Yes, this has been debated a lot and I've done my googling to know the basics but problem is what I could find was mostly ...