Rails console shortcuts
Contact me at LinkedIn  RailsZilla at Facebook  RailsZilla at twitter   google +1  Contact me at Xing  connect me at github

Rails console shortcuts

Posted in Rails, Start

I always forget all those handy hints in Ruby on Rails, while using my Rails console. Here I will drop some very useful console commands to get some daily jobs done: Hint No.1 Sometimes we change the code in a file. In that case we can reload the changes in the rails console by using […]

Tags: , ,

git push heroku master is asking for authentication

Posted in Ruby, Start

In this post I show you how to fix the authentication problem with heroku. If you want to deploy your branch to heroku using this command 1$ git push heroku master and git want an authentication like this 12Username for ‘https://git.heroku.com’: Password for ‘https://git.heroku.com’: then the repository is not pushed, because heroku will not allow […]

Tags: , , , , ,

Postgresql and TCP/IP connections on port 5432

Posted in coffee break

When working with Postgresql, I got the error 1234PG::Error could not connect to server: Connection refused     Is the server running on host "localhost" ( and accepting     TCP/IP connections on port 5432? This can happen, if you didn’t configure your server specifically. To see if your Postgresql is accepting requests, simply run […]

Tags: , , , , , , ,

VIM shortcuts – get rocked with VIM

Posted in coffee break

First I want to tell you, that I do not like VI or VIM … For editing local files I prefer GEdit or Netbeans if I need an IDE (be cautious when downloading the newest Netbeans, since Netbeans does not support Ruby after Version 6.9) If you are working directly on your server (ugly) then […]

Tags: , , , ,

mongoDB connection problem

Posted in coffee break, Rails, Ruby

if mongo won’t run, try 1234sudo rm /var/lib/mongodb/mongod.lock sudo -u mongodb mongod -f /etc/mongodb.conf –repair sudo start mongodb sudo status mongodb should fix your problems ;-)

Tags: , , , ,

setting up ssh for your server

Posted in coffee break

SSH (Version 2) Today I have a quick guide for setting up SSH private/private keys. I allways forget to write it down, because i do not use it often (c’mmon guys, how often are you setting up a new server when everything is running …) This post is now my small place for checking up, […]

Tags: , , , , , ,

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