Archive for the 'General' Category
How Secured is your Rails App?
General| No Comments »What do you prefer in terms of Authentication?
Plugin - Restful Authentication (recommended) - easy to use and you can tweak it according to your requirements.
http://railscasts.com/episodes/67 http://svn.techno-weenie.net/projects/plugins/restful_authentication/
Build your own authentication. You should rarely need to do this … Restful Authentication is quite flexible.
http://www.aidanf.net/rails_user_authentication_tutorial
OpenID - a universal authentication system to avoid use of multiple username […]
Ubuntu 9.10 running in low-graphics mode
General| 4 Comments »After the installation from update manager, and every time I boot up my machine, I get a error with three options out of which I am forced to click OK for “Run Ubuntu in low-graphics mode for just one session” option.
Resolution upon reference from url (http://ubuntuforums.org/archive/index.php/t-1242813.html) for Ubuntu 9.10:
Take a backup and edit xorg.conf file:
sudo […]
Windows 7 and ROXIO
General| 1 Comment »I recently got my XPS M1330 notebook upgraded from Windows Vista to Windows 7.It happened that one day I need to burn a CD and found that ROXIO DVD Creator is no more working though I have used it less. I have found the collection of CDs given by Dell and re-installed ROXIO Creator 9. […]
Avoid SVN updates for External Rails Plugins in your Application
General| No Comments »Make sure you are in the root of your app and do:
svn propedit svn:externals vendor/plugins
Just delete the line(s) of the plugins you no longer want.
If you get the following error then you need to set your environment variable.
svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR is set, and no ‘editor-cmd’ run-time configuration option […]
Enni Gundelu aaa?
General| No Comments »“Enni Gundelu aaa?” Its a normal saying in telugu asking How dare you? But the exact words translation is “How many hearts you have haan?” Hmm… Well… I have two hearts !!!
Weird, Rare… and what not !
General| 2 Comments »Apart from Redhat Linux, I’m also trying to set up my Rails app on a Win XP Pro machine to clarify some Ajax effects in IE. IE used system hosts file very well. But at the same time, on the same OS, my latest Mozilla Firefox version 3.0.1 ignores the same hosts file. […]
The Hidden Treasure
General| No Comments » All thats nice, sweet and makes one happy is a treasure. And if anything of that sort is hidden is called the Hidden Treasure I mean… what you say?
Well, I am talking about “My fav. singer” and thats the talent of my best buddy thats hidden..
O’ Shiny Bubble !
General| No Comments »O Shiny bubble in the eye…
do not cry !
Why feel for the ears that dont hear…
reach out your voice to the ones who’s dear !
Why feel for the things that dont happen…
reach out to them who needs you to make it happen !
Decide O shiny bubble… pain or smile…
whichever way, accept […]
Single Table Inheritance
General, Ruby on Rails| No Comments » Active Record allows inheritance by storing the name of the class in a column that by default is named “type” (can be changed by overwriting Base.inheritance_column). This means that an inheritance looking like this:
class Company < ActiveRecord::Base; end
class Firm < Company; end
class Client < Company; end
class […]
The “remembered” three fishes story…
General| No Comments »Instead of using the word “unforgettable story”, I should say this story is always remembered in every act of my life.
The story is a lesson of my telugu detailed text book in my school days and it is … as follows:
Once upon a time, there lived three fishes in a lake. Their names are […]
