Kelly Felkins's blog



Kelly FelkinsKelly Felkins
SF Standup for Monday, 4/25/2011: What gem do you use for file upload?
edit Posted by Kelly Felkins on Tuesday April 26, 2011 at 07:17AM

Help

What are projects using for file upload? Paperclip? Carrierwave?

Most continue to use Paperclip, though a few projects have successfully used Carrierwave. Carrierwave apparently has better mongo support.

I tried to setup ruby and rails, and installed the latest mysql gem and I get warning messages about the mysql gem.

Others have experienced this too and offered to help. The main answer seemed to be "the warnings are lies, it will work."

Interesting

  • Checkout Pry. It's an irb replacement that includes tab completion and cd and ls for navigating scopes.

Kelly FelkinsKelly Felkins
Standup 7/24/2008
edit Posted by Kelly Felkins on Thursday July 24, 2008 at 04:45PM

Interesting

mysqldump and load

  • There was war story told involving software that's not generally available. However, one tidbit that may be of general interest is a reminder that you don't necessarily get a perfect copy of your mysql database when restoring from a dump of that database. Mysqldump by default writes the data of each table preceded by a DROP TABLE IF EXISTS and a CREATE TABLE statement. This covers you in most situations, but misses when new tables have been created since the dump was made -- those new tables are not deleted. They may not cause problems, but some systems are sensitive to the existence of those tables, such as rails and the schema_info and schema_migrations tables.

Ask for Help

  • question: Is merb hosting different from rails hosting?
    • answer: no