Simon Perepelitsa

Results 17 comments of Simon Perepelitsa

What's the problem with using `RbConfig::CONFIG["ruby_version"]`? Ruby 1.9.2 maintenance [has ended](https://www.ruby-lang.org/en/news/2014/07/01/eol-for-1-8-7-and-1-9-2/) this year. Ruby 1.9.3 versions can share gems between patch-level releases. Ruby 2.0.x and 2.1.x will use 2.0.0 and...

Should really be compared with `sort_by{ |a| -a }`or `sort_by(&:-@)`

Does it log to both? I don't see anything in *.log while in console. Either `ActiveRecord::Base.logger = Rails.logger` or changing log level should work. https://github.com/rails/rails/blob/29d564add926307fea8cd3f77caf88d735e252a1/activerecord/lib/active_record/railtie.rb#L41

If you want to use this proxy for the whole app, it might be easier to use "http_proxy" environment variable, since it is automatically picked up by Net::HTTP and other...

I'm having the same issue. I'm stubbing an API that expects query parameters as `key=value1&key=value2`. In Faraday HTTP library this is implemented by FlatParamsEncoder. But there is no equivalent in...

@ahammel, could you tell me how are these extensions called? I can't find anything. Are they built-in?

I have published the patched version under a new name, if it helps anyone: gem install html2slim-ruby3 https://rubygems.org/gems/html2slim-ruby3

I have published the patched version under a new name: gem install html2slim-ruby3 https://rubygems.org/gems/html2slim-ruby3

Before v. 1.0 I was updating all assets by hand, but now a script does that for me. It lacks jquery.fileupload-ui assets because I don't know how to use it...