Invalid multibyte char (US-ASCII) Ruby
Contact me at LinkedIn  RailsZilla at Facebook  RailsZilla at twitter   google +1  Contact me at Xing  connect me at github

Invalid multibyte char (US-ASCII) Ruby

Posted in console, Ruby

I was playing with Couchbase and plain Ruby in my Terminal. Then I got the error message: 1invalid multibyte char (US-ASCII) If you got this error, you know that this is a result of having special chars. To fix this, you have to add a ‘magic comment’ in the script. Here is a step-by-step instruction […]

Tags: , , ,

Rails deployment at Heroku

Posted in Rails

This time I show you how to deploy your application at Heroku. Heroku is a cloud platform as a service (PaaS) supporting several programming languages. Heroku claims to offer the most NoSQL add-on solutions in the market today and that it introduced the ‘polyglot platform’. Let’s start: After signing up for a Heroku account, you […]

Tags: , , , , , ,

adding attachments or photos with paperclip

Posted in Rails

This time i show you how to use paperclip in rails. With paperclip we can easily attach any file to a model. Paperclip is installed in the same way as any other plugin. From our application’s directory, we will install it from Github. Lets go!

Tags: , , ,

10 easy steps for authentication in rails

Posted in Rails

Authentification in my projects was allways a pain in the ass! Like in real life it’s all about power, who is allowed to do things – and who is not ;-) So i’ve started to write a pretty “10-easy-steps-and-your’re-running-authentication-instruction” in rails, using devise and it’s generator. Follow this 10 easy step to have an authentification […]

Tags: , , , ,

Copyright © 2011-2017  - RailsZilla – Ruby on Rails tutorials, tips and tricks All rights reserved. | Imprint | Privacy