Marko Anastasov wrote this on October 13, 2009

Notes on 2009/10/13

  • Compiled ImageMagick executables are probably located in /usr/local/bin. That might not work out of the box with Paperclip; in that case an error ending with “…not recognized by the ‘identify’ command.” will appear in the log. The solution is to specify that command path in your config file(s):
Paperclip.options[:command_path] = "/usr/local/bin"
  • In case your before_validate_on_* callback returns false, the model instance will be invalid with @foo.errors.empty? being true.

  • We pushed another release of Plakatt.

comments powered by Disqus

About Marko Anastasov

Rendered Text co-founder. Started with code, currently more focused on people and words. Foosball striker and entry-level cyclist.

Suggested Reads

Rails Testing Handbook

A new ebook on building test-driven Rails apps with RSpec and Cucumber.

At Rendered Text, we have a long history with Ruby on Rails. Checking the blog archive reminds me that we published first posts about working with Rails way back in 2009.

———

Rendered Text is a software company. For questions regarding Semaphore, please visit semaphoreci.com. Otherwise, feel free to get in touch any time by sending us an email.