Ask for Help
Exceptions thrown in Rails views get wrapped by
ActionView::TemplateError which makes rescuing specific exceptions hard
It’s probably best to prepare all your data in your controller or models and not in the view, which will obviate this and other problems.
There’s a new Mac OS X Dashboard widget available that allows you to create Pivotal Tracker stories easily, right from your desktop.
It’s written by Thomas Vie, and posted on his blog here:
The widget uses the Pivotal Tracker API. For other user contributed tools and applications, check out the 3rd party tools page.
0.9.1 of Scoop has been submitted to Palm and should be available soon.
Features and Changes
- Email, IM and SMS links to articles
- Popup menu option to view original article
- Folders: read articles via your Google Reader folders
Ask for Help
Does anyone have suggestions for an off-the-shelf data reporting tool to help display some data in a webapp for internal users to see?
form.submit() vs. <form onsubmit=”…”>: An
onsubmit attribute added to a
form element doesn’t get called when
- Instead of calling
Timezones are being ignored when a date is passed into ActiveRecord’s
find method, but are not ignored when passed into other methods.
This seems to be due to a bug in ActiveSupport’s
to_s(:db). One solution is to override
to_s and fix the time zone.
When trying to create an ssh tunnel to EngineYard, set
sshd, otherwise the tunnel won’t bind to your local computer.
WAVE Toolbar (Web accessiblity evaluation tool) is a great Firefox extension that shows you which parts of your pages have accessibility issues.
The next meeting of the San Francisco Pivotal Tracker Users Group is tonight at 6:30 PM at the Pivotal Labs headquaters on Market St.
Hackfest for the Light and Women 2.0 are putting on a Startup Sandbox in November at Microsoft. They especially encourage socially responsible software ideas and companies to attend — bring your whole team or just an idea and ask for whatever help you need.
Come spend a whirlwind 56 hrs with like-minded entrepreneurs, engineers, designers, dreamers, and work on any of the following –
- Make a working prototype
- Create an investor presentation
- Come with your company and get feedback
- Come with an idea to make a mock up
- Practice and learn new skills
The event starts at 6pm Friday Nov 20, and goes until Sunday evening, Nov 22.
Location: Microsoft, 835 Market Street (Westfield Center), Suite #700
Register now, and get the early bird price of just $79 for the whole weekend — http://startupsandbox.eventbee.com. Use the Hackfest for the Light discount code ‘affiliate01′ and get an additional $10 off.
Women 2.0 is a powerhouse organization, dedicated to creating more women entrepreneurs. Thanks to their great connections, there will be investors, lawyers, and high-profile speakers who want to give you great advice for free!
If you can’t make the SF event, check out Startup Weekend in Palo Alto event the very same weekend — http://bayarea.startupweekend.com
1.1.1 of Tweed is now available in the App Catalog.
- User profile can scroll
- increased photo upload timeout
- font size setting should apply to direct message timeline
- Tweet text is image caption on photo uploads
Features and Changes
- changed photo upload default to yFrog
- forward gesture composes new tweet
- use j.mp for url shortening (instead of tinyurl.com)
- show original tweet on replies
- Pixi support
- landscape mode (& preference to disable)
The question came up in the course of using RabbitMQ of how to ensure that if something catastrophic happens that the system wouldn’t lose any data due to either side of the queue coming down unexpectedly.
We had the exchange and the queues both set as ‘durable’, which we thought should cover everything. Right?
In addition to the exchange and queues needing to be durable, the messages themselves must be flagged as ‘persistent’.
Carl Smith, founding member of nGen Works, breaks down the steps to understanding, building and keeping trust with your users. Trust is becoming vulnerable based on a positive expectation. It’s about the promises you make in subtle and obvious ways.
In a special evening event, Scott Chacon from GitHub gives an excellent overview of Git for developers, with a lively back and forth from the audience.
I’ve been a member of an online Star Wars club for…wow…almost 10 years now. At the time that I joined I was just learning about databases and web-programming and was rather impressed with the functionality that existed (and still exists) in the club’s website.
The site is coded in old-school ASP, with SQL Server on the backend.
I cringe just thinking about it.
I’ve been trying to convince The Powers That Be for a while now to look at recoding the site to some other environment. For a long time I tried to push them towards PHP, but they just dug in their heels and refused to look at that option really.
Then I discover Ruby on Rails, and I see how much better RoR would be for this site. It would provide structure to the codebase, organization, and seriously increase readability. And since the club is a volunteer organization, with a pretty regular rate of people transitioning in/out of positions, having a strong test suite would be HUGE towards helping new developers ramp up on how the system is supposed to work and quickly identifying when a change in the code has broken something else in an unforeseen manner.
Of course as I’m making those discoveries, The Powers That Be decide to move ahead with PHP…
So, on to the question at hand: What do you do, what information do you use, in an attempt to convince someone to switch from an older technology (ASP, PHP) to Ruby on Rails?
This week we moved our gems over to GemCutter. It’s very easy to claim the gems that were automatically synced over from RubyForge, but if you have gems on GitHub it takes a little more work. We had several gems to move over, some of which had quite a few versions we wanted to preserve. You can’t just push the .gem files over because GitHub built the gem namespaced with your username (e.g. “pivotal-apdex”). So Sam and I built a little script to pull down the gems from gems.github.com, fix the name in the spec, repack, and push up to GemCutter.
You can get the hubcut script at http://gist.github.com/220908