Will Read's blog



Will ReadWill Read
Standup 3.18.2011: Rails Bridge
edit Posted by Will Read on Friday March 18, 2011 at 10:04AM

Interesting Things

  • Rails Bridge is hosting an event here at Pivotal Labs to teach people how to develop Rails applications (including TDD and source control!). The students are designers, bootstrapping startups and those who are just curious. THIS EVENT NEEDS VOLUNTEERS! Come teach their well-laid out lesson plan, OR if you're not up for teaching, come and help out with the install-fest Friday night. The dates are March 25th for the install-fest and March 26 for the actual class. Here's the deets on Meetup Here's the volunteer page

Ask for Help

"How do I show the 80 character line guide in RubyMine?"

Search your RM preferences, it's in there.

Interesting Things

  • Autosave doesn't work when you have a has_many :through relationship in your model. The POST gets rewritten as a PUT and doesn't work as expected. See an example here.

  • Got multiple log files? Want to join those log entries across a specific request? LumberJack is for you! It adds metadata to each log - things like:

    • severity - The severity recorded for the message.
    • time - The time at which the message was recorded.
    • program name - The name of the program logging the message. This can be either set for all messages or customized with each message.
    • process id - The process id (pid) of the process that logged the message.
    • unit of work id - The unique 12 byte hexadecimal number generated for a unit of work.

Ask for Help

"Is there a way to have multiple ssh.config files or include other ssh type configurations in your main ssh.config?"

Still searching for an answer here.

"What's the best way to share cap recipes across multiple internal git repos?"

Git submodules will work, but also think about using a shared gem. The shared gem approach will enable you to keep your server configuration in one place as opposed to scattered across multiple repos that define their own server list.

Interesting Things