Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker
Robbie Clutton

NY Standup: Documentation interpolation and RVM, Brew and autolibs FTW

Robbie Clutton
Tuesday, April 2, 2013

Interestings

Grant Hutchins / David Lee

If you wrap the opening name of a Ruby heredoc in single quotes, its insides will act like a single-quoted string.

If you wrap the opening name in backticks, the heredoc will be immediately executed through system()

<<-HEREDOC
1 + 2 = #{1 + 2}
HEREDOC
=> "1 + 2 = 3\n"

<<-'HEREDOC'
1 + 2 = #{1 + 2}
HEREDOC

=> "1 + 2 = #{1 + 2}\n"

<<-HEREDOC
uname
date
HEREDOC

=> "Darwin\nMon Apr 1 17:50:43 EDT 2013\n"

Found at http://jeff.dallien.net/posts/optional-behavior-for-ruby-heredocs

rvm autolibs

https://rvm.io/rvm/autolibs/

In the latest versions of RVM, you can have RVM build dependencies automatically for you. For instance, if you use Homebrew, you can run

$ rvm autolibs brew

and from then on, RVM will automatically build any packages it needs via Homebrew.

As always, read "brew doctor" to get more info about how to set up your particular system.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Luke Winikates

Massive Problems may Affect YOU!

Luke Winikates
Thursday, March 28, 2013

Interestings

Massive DDoS might affect Internet speed

http://mashable.com/2013/03/27/massive-cyberattack-spamhaus/

http://mashable.com/2013/03/27/biggest-cyberattack/

http://blog.cloudflare.com/the-ddos-that-almost-broke-the-internet

http://blog.cloudflare.com/deep-inside-a-dns-amplification-ddos-attack

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Dmitriy Kalinin

[standup] [sf] 03/27/13: Metro DC

Dmitriy Kalinin
Wednesday, March 27, 2013

Helps

Sinatra Logger

We have a Sinatra app mounted on Rails. If we raise an error in the Sinatra app, it doesn’t show anywhere. Can we attach the Rails logger somehow?

Interestings

Code Climate Blog: Rails Insecure Defaults

http://blog.codeclimate.com/blog/2013/03/27/rails-insecure-defaults/

Rubymine 5.4 EAP: Rails 4, JRuby Nailgun support, and a feature requested by pivotallabs!

Check out the release announcement here: http://blog.jetbrains.com/ruby/2013/03/rubymine-ichii-early-access-is-open/

This release also includes a small feature requested by the CloudPlanner team here at Pivotal Labs! When you create a new localization property from a view, the dialog will now default your localization file to the last one used: http://youtrack.jetbrains.com/issue/RUBY-13368

Thanks to the two Pivots who up voted our feature requests (Ken Mayer and Justin Richard)! And if you never got around to up voting our team’s RubyMine feature requests, please do so now! It only takes a sec:

http://youtrack.jetbrains.com/issue/RUBY-13332
http://youtrack.jetbrains.com/issue/RUBY-13341
http://youtrack.jetbrains.com/issue/RUBY-13327
http://youtrack.jetbrains.com/issue/RUBY-13326
http://youtrack.jetbrains.com/issue/RUBY-13366
http://youtrack.jetbrains.com/issue/RUBY-13374

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Luke Winikates

[Standup][SF] Upgrade your Rubies

Luke Winikates
Tuesday, March 26, 2013

Interestings

Ruby 1.8.7 end of life – No security fixes after June

More here: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/47201

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Dmitriy Kalinin

[standup] [sf] 03/25/13: Zvezdochka

Dmitriy Kalinin
Monday, March 25, 2013

Interestings

.ruby-version (& .ruby-gemset)

The community appears to be converging on .ruby-version as a standard way to convey a project’s Ruby version. This as opposed to .rvmrc or .rbenv

If you use RVM you can also use .ruby-gemset to specify a gemset.

See https://gist.github.com/fnichol/1912050 for more info.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Brent Wheeldon

03/21/13: New York Standup

Brent Wheeldon
Thursday, March 21, 2013

Interestings

Backbonejs 1.0 is out

Not a great deal of changes compared to 0.9x – mostly small behavior adjustments on Collection#set & Model#save.

Upgrading instructions: http://backbonejs.org/#upgrading

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
David Stevenson

03/13/13: [SF] Use postgres!

David Stevenson
Wednesday, March 13, 2013

Helps

eager-loading nested polymorphic associations

We have a controller action that performs n+1 queries to present associated models as nested hashes. The typical solution is to use :include to eager-load associations. Unfortunately, the models are related polymorphically, and :include can’t eager-load nested polymorphic associations. What can we do?

Interestings

Use postgres!

Because in rails it automatically puts a transaction around for DDL statements and rolls them back when things don’t work. Fixing this in mysql can be a huge pain.
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Can Berk Güder

[Standup][SF] 03/08/13: See-borg

Can Berk Güder
Friday, March 8, 2013

Helps

Mocking XHRs in Capybara

How do you mock AJAX requests in Capybara tests?

Suggestions:

  • Execute Javascript on the page before the test
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Can Berk Güder

03/06/13: It’s Red Day

Can Berk Güder
Wednesday, March 6, 2013

Helps

New column shows up as the wrong type on Heroku

We created a new migration that added a non-string column. After pushing to heroku and running the migration, the column shows up as string.

Suggestions:

  • you should restart your heroku app after every migration.
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Can Berk Güder

03/04/13: Singleton Process

Can Berk Güder
Monday, March 4, 2013

Interestings

github/singleton_process

Ensures that a given process is only running once. Keeps scheduled tasks from overlapping. Uses lock PID files. https://github.com/rjackson/singleton_process

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Topics

  • agile (780)
  • rails (113)
  • testing (88)
  • ruby (83)
  • ruby on rails (70)
  • jobs (62)
  • javascript (55)
  • techtalk (44)
  • rspec (38)
  • ironblogger (32)
  • productivity (30)
  • activerecord (29)
  • gogaruco (29)
  • git (28)
  • nyc (27)
  • rubymine (26)
  • bloggerdome (23)
  • mobile (22)
  • process (21)
  • pivotal tracker (20)
  • cucumber (20)
  • jasmine (19)
  • design (18)
  • ios (18)
  • webos (17)
  • objective-c (17)
  • android (16)
  • palm (16)
  • "soft" ware (16)
  • fun (15)
  • tracker ecosystem (15)
  • ci (15)
  • cedar (15)
  • rails3 (14)
  • performance (14)
  • bdd (14)
  • gem (13)
  • css (13)
  • tdd (13)
  • selenium (12)
  • goruco (12)
  • bundler (12)
  • meetup (11)
  • railsconf (11)
  • nyc-standup (11)
  • capybara (10)
  • mac (10)
  • mojo (10)
  • chef (10)
  • api (10)
Subscribe to Standup Feed
  1. ←
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. 6
  8. 7
  9. ...
  10. 90
  11. →
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >