Monthly Archives: January 2011

Using hoptoad notifier as gem in rails 2.3

># in config/environment.rbconfig.gem ‘hoptoad_notifier’# from your Rails root:$ rake gems:install$ rake gems:unpack GEM=hoptoad_notifier$ script/generate hoptoad –api-key your_key_here Advertisements

Posted in Ruby on Rails | Tagged | Leave a comment

Installing and running cronjob (crontab basics)

>Basic commands to open/Edit crontab fileEditing crontab filecrontab -eDisplaying crontab filecrontab -lRemove crontabcrontab -rcrontab syntaxcron command basically takes 6 input parameters of which each input can take multiple argumentsfor that one can make use of comma or pipe separator# min … Continue reading

Posted in Ruby | Leave a comment

Testing restful & polymorphic resource routes on rails console

>Testing restful & polymorphic resource routes on rails consoleOpen rails consolerails c # In rails 3ORruby script/consoleapp object of URL>> app=> #<ActionController::Integration::Session:0xc164fac @result=nil, @status=nil, @accept=”text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5″, @path=nil, @request_count=0, @application=#<ActionController::Dispatcher:0xc1644f8 @output=#<IO:0x85e34ec>>, @remote_addr=”127.0.0.1″, @host=”www.example.com”, @controller=nil, @https=false, @request=nil, @headers=nil, @cookies={}, @status_message=nil, @named_routes_configured=true, @response=nil>Root URL>> … Continue reading

Posted in Ruby on Rails | Tagged | Leave a comment

Pro tip: Increase webpage performance using sprite, data-uri and jammit

For quite some time at Josh Software, we have been concentrating on improving backend server performance. You can read about load testing and bench-marking and improving upload performance using nginx upload module. This post is about improving frontend performance by … Continue reading

Posted in Ruby, Ruby on Rails | Tagged , , , , , , | 23 Comments

Getting started with MySQL on Amazon Web Services

> Getting started with MySQL on Amazon Web Serviceshttp://static.slidesharecdn.com/swf/ssplayer2.swf?doc=usingamazonwebservices-090422111735-phpapp01&stripped_title=getting-started-with-mysql-in-amazon-web-services&userName=ronaldbradford View more presentations from Ronald Bradford.

Posted in Ruby | Tagged , | Leave a comment

Do you need a Push Notification Manager? – Redis PubSub to the rescue

Happy New Year! And its indeed an awesome start to a surely prosperous year — my stunts with Redis PubSub worked ! We have been looking at getting a push notification manager in place to communicate between applications! Here is … Continue reading

Posted in Ruby, Ruby on Rails | Tagged , , , , | 13 Comments