rbenv first impressions Thu 21 Mar 2013 at 13:10 Background: I maintain a scenario that I test against multiple versions of Rails and multiple versions of Ruby. I primarily develop on Ubuntu, but I bought a new Mac Mini because some of my readers were having installation problems on S...
samples % linenr info app name symbol name 3468 27.0388 instructions.cpp:82 rbx rubinius::MachineCode::interpreter(rubinius::State*, rubinius::MachineCode*, rubinius::InterpreterCallFrame*) 3048 23.7642 loop.rb:7 5060.jo _X_Object#forever$block@1 # => Wow, the name of JIT-ted Ruby cod...
How Fast Are Your Tests? Try Tddium's Parallel CI For One Month Free Solano Labs, the maker of Tddium, has integrated major updates to make the product easier to use, and we want to share these awesome changes with you. These changes include Github Sign-In, Pull-Request & Status Integ...
Ruby delegate.rb secrets Posted by jim on March 21, 2013 — 0 comments You may see quite a few uses for SimpleDelegator but the delegate library has a lot more to it than just helping you manage method_missing . Read more about it at Ruby delegate.rb secrets Comments Post a Comment...
One way to improve performance is to reduce the number of database queries through eager loading. Here I demonstrate this and compare the difference between the "includes" and "joins" methods.
MoneyDesktop is the most significant advancement in the financial services industry in the last decade and is revolutionizing the way that millions of people will interact with their finances. Its award-winning platform is built using Ruby 1.9 and utilizes frameworks like Rails 3 and ...
Get to Know SpreeConf DC Speaker: Nick Gauthier Posted March 21, 2013 by Lynne Brehmer Comments We are excited about our awesome lineup of speakers for SpreeConf DC taking place May 20th – 21st at the Studio Theatre in Washington, DC. To spread our enthusiasm, we are starting a new se...
Новый хостинг RubyFlow.ru и RubyJobs.ru
[SF][Standup] 09/19/12: ActiveAdmin vs. RailsAdmin… Arrrggg! Tyler Schultz Wednesday, September 19, 2012 Interestings ActiveAdmin after_save If you are using ActiveAdmin, beware that the after_save callback gets fired both when the model gets saved, and when there are validation error...
# File '/var/www/sass-pages/.sass/lib/sass/script/functions.rb', line 969 def mix(color1, color2, weight = Number.new(50)) assert_type color1, :Color assert_type color2, :Color assert_type weight, :Number Sass::Util.check_range("Weight", 0..100, weight, '%') # This algorithm factors i...
Thursday, March 21, 2013 at 6:25AM flatui-rails - Designmodo's flat UI sassified and hooked up to the asset pipeline. Firefox Developer Tools work week wrap-up - Lots of stuff headed down the pipeline. The remoting stuff is especially interesting. Firefox Terminal V3 - Interactive con...
This is my eighth entry detailing my personal “productivity pr0n ”. I use my applescript menu a lot. I use it to clean up my messy windows, to go to bed, and to do my day to day task organization. I have several scripts for omnifocus that help me do basic planning: Omnifocus has a nic...
Creates a skeleton for creating a rubygem $ bundle gem GEM [--bin or -b] Options: --bin or -b : Generate a binary for your library. (Detailed description TBD) (Example with default options TBD)
Most gems contain pure Ruby code; they should simply leave the default value in place. Some gems contain C (or other) code to be compiled into a Ruby “extension”. The should leave the default value in place unless their code will only compile on a certain type of system. Some gems con...
Creates a skeleton for creating a rubygem $ bundle gem GEM [--bin or -b] Options: --bin or -b : Generate a binary for your library. (Detailed description TBD) (Example with default options TBD)
IRB.conf[:AUTO_INDENT] = false IRB.conf[:BACK_TRACE_LIMIT]=16 IRB.conf[:DEBUG_LEVEL]=1 IRB.conf[:ECHO] = nil IRB.conf[:EVAL_HISTORY] = nil IRB.conf[:HISTORY_FILE] = nil ((<ruby 1.9 feature>)) IRB.conf[:IGNORE_EOF] = false IRB.conf[:IGNORE_EOF]=false IRB.conf[:IGNORE_SIGINT] = true IRB...
flog version 3.2.3 has been released! Published 2013-03-21 @ 15:43 Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is in. Changes: 3.2.3 / 2013-03-21 1 bug fix: Don’t blow up if a path doesn’t exist or isn’t readable. re...
Sometimes though, you either don't need the extra safety you get from dm-validations , or you don't want any callbacks to be invoked at all. In situations like this, you can use the bang(!) versions of the respective methods. You will probably find yourself using these unsafe methods ...
Once the enable/disable feature was in place, implementing Out-Of-Band Work was almost trivial. When an application wants to perform Out-Of-Band Work, it sends a signal to Phusion Passenger. We currently use the X-Passenger-OOB-Work header to do this, which is filtered out by Phusion ...
Download the sources and put them to your vendor/plugins folder. For Redmine 2.0.x $ cd {REDMINE_ROOT} $ git clone git://github.com/pharmazone/redmine_charts2 plugins/redmine_charts2 For Redmine 2.1.x $ cd {REDMINE_ROOT} $ git clone git://github.com/pharmazone/redmine_charts2 plugins/...
Edit C:\webserver\Redmine\config\environment.rb file to configure Redmine to work as a sub-URI (Apache configuration is also required and is listed later on in this document). add the following line at the bottom of the file: Redmine::Utils::relative_url_root = "/redmine" save and clo...
http://www.example.com/ nofun not so funny…. http://smartic.us bryanl http://zachholman.com/ Zach This is hilarious. http://riethmayer.de/ Jan lol bryan, that's funny A little bit to hard not getting distracted, if you understand the german. But for my standup tomorrow, it seems that ...
Over the past year I've written the same test a few times. This test accomplishes what I'm looking for when I write it - verification that my-fn isn't called. However, it doesn't prevent me from future regressions where my-fn is called with 0, 2, or 2+ arguments. After being bitten by...
Whether an error in the Sass code should cause Sass to provide a detailed description within the generated CSS file. If set to true, the error will be displayed along with a line number and source snippet both as a comment in the CSS file and at the top of the page (in supported brows...