Ask for Help
“How do I upgrade Passenger on the EngineYard Cloud with a unsupported account?”
Jump in to EY’s IRC to get ‘er done.
“Using the Vimeo gem, uploading fails with ‘Unknown upload error’”
No answer, but the gem hasn’t been updated in a while and the working theory is that it isn’t compatible with the new OAuth authentication. Suggestions included using HTTP Scoop to see what the traffic is doing and get more info.
“Ngnix 0.6 + Rails 3 isn’t sending the Content-Length header for 201 responses”
Since there’s no content length specified, some browsers grab on to the keep-alive and appear to take a very long time to load the page. In Rails 2.x the Content-Length is supplied. Does anyone know if this was an intentional choice in Ngnix/Rails 3?
This release is largely about stabilization. We’ve fixed some bugs, stabilized our API, and improved support for JRuby and Ruby 1.9. There are several deprecations (especially around asynchronous ‘waits’ blocks and some matchers) to go along with the fixes and features. See the release notes for full details.
This release is available in standalone and Ruby gem versions.
Our upcoming priorities include improving the documentation, properly supporting Rails 3 and RSpec 2 and a number of other environments, and looking at all of your pull requests and issue reports. Jasmine’s backlog lives in Pivotal Tracker.
Big thanks to the Jasmine community for the pull requests; the majority of changes between 0.11.1 and 1.0 are based on user-submitted patches.
See you on the mailing list and make sure to follow us on Twitter: @jasminebdd…
“Has anyone experienced fuzzy PDF rendering at some zoom levels on iOS?”
One project was having trouble with their iOS app which shows a PDF file. When you zoom the view, the text becomes fuzzy looking. The text in the PDF is only fuzzy at certain, seemingly nondeterministic, zoom levels. They are drawing the PDFs with CGContextDrawPDFPage and scaling with CGContextScaleCTM. Does anyone know what could cause this?
There doesn’t seem to be any reliable way to know if an HTML checkbox got checked by simply looking in the DOM. There’s an attribute on the INPUT called “checked”, but this is only read during page load to set the initial value of the checkbox.
Interesting Amazon EC2 announcement:
“Micro instances provide 613 MB of memory and support 32-bit and 64-bit platforms on both Linux and Windows. Micro instance pricing for On-Demand instances starts at $0.02 per hour for Linux and $0.03 per hour for Windows.”
“Is anyone using Devise (authentication solution for Rails) with SSL for an app’s login page (on Heroku)?”
One project was having trouble with the redirects caused by this and is looking for help. Has anyone experienced trouble with this?
- There is a Ruby meetup tonight at 6:30 pm in San Francisco on the subject of unicode and internationalization in Ruby.
“Using bundler vs. gemsets?”
These can be used separately or together depending on the needs of your project. Bundler checks dependencies to make sure you have the gems that your application needs, while RVM gemsets keep your gems separate to prevent conflicts (between Rails 2 and 3, or example).
“Anyone ever see IE fall over when parsing 500 KB of JSON?”
Try explicitly using eval()
- If you have any strange, unexplained errors with RVM, try upgrading to see if it solves them.
We’re excited to add a new entry to the 3rd party tools directory: Aragorn, the first Pivotal Tracker client for the iPad.
The first version of Aragorn supports read only views of your projects and stories within them. Thanks to @elight for writing the app!
“Does Postgres have an equivalent MySql Myisam high write performance?”
A Pivot was wondering what settings in Postgres can be enabled for high performance INSERTs (willing to sacrafice SELECT performance on said table).
“Why is Paperclip giving a Stream close error when in development?”
When using Paperclip in development, any file upload results in a Stream IOError. Trying to replicate the problem with Paperclip on its own causes no problems, so it appears to be a conflicting library.
- An update to yesterday’s Rubymine font size issue. The file drawer can not be specifically updated, but the overall system font can be under Preferences > Appearance > Fontsize. Make sure to restart Rubymine.
- Google Voice has been added as a service on to GMail. Make phone calls for free to anywhere in the US from your browser.
- An update to yesterday’s Safari ‘Back’ button issue. Safari caches the previous ajax call (dubbed ajax zombie) when going back to a previous page. The fix had to do with changing Rails default “Cache-control” header to be “no-store”.
“How does Mobile Safari handle the back button?”
When pressing the back button in Mobile Safari can cause the access to the DOM to be lost. It appears to happen because of resources of “forward” facing pages taking over the cache.
“How to set the font size on RubyMine project (file) drawer?”
With the increasing size of resolution on monitors, some of are experiencing the small font issue. Is there a setting to control the RubyMine project browser?
- Updating ImageMagick from 6.6.1 to 6.6.3 fixes a bug with color palette when trying to resize images using Paperclip.
- Rails 3 RC2 has dropped fixing many bugs and this much closer to the final release. The Rails team would like to find any blockers specifically in Bundler and ARel.
A Pivot is working on a project where 1,500 records living in a CSV are iterated over (loaded in to ActiveRecord objects) and loaded in to a Postgres database… or at least that was the intention. The database just crashed on him in a repeatable way. Anyone seen anything like this before?
On another project, there’s a has_many association on a table with 40,000 records in MySQL. It seems that pulling these in through standard ActiveRecord means is not releasing memory (you can watch the memory grow as it executes). The work around was to use ActiveRecord::Base.connection.select_all(), but it would be nice to know why GC didn’t kick in and clean up house. Maybe AR is holding on to object references somewhere outside of scope?
Speaking of scope, there’s a subtle difference in Ruby 1.9.2 that a pivot ran into – previously you could set variables inside a call to eval() and have that variable defined in the same scope as the call. That is no longer the case in 1.9.2 where eval has its own scope inside the call.
And lastly, on this day in 19..(mumble mumble), NASA launched the Voyager 2. Later in its career, Voyager was given it’s own drama series and a female captain to command the vessel.