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| 6 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 […]
Dilemma of a Developer under TL
General| No Comments »I have a group of friends in big MNC software fields… who complain a lot about their Tls … almost every day… And I cant complain in return because I dont have one !!! Infact.. I am the Tl/owner of my own Task..
But when a developer works under someone or managed by someone… that someone […]
Pin Drop Sound please…
General| No Comments »Code code code… hurray…
But whos that? calling me there…
Discussion Discussion Discussion…
Confusion Confusion Confusion…
Too many cooks… threw me in a hot pan…
Although… I have set my plan.
The whole concept… lost its fuse.
And who is this now … dumping things in dose.
What the heck the themes/dress change do
Please… Please give me a clue…
When not even the model/doll […]
So howzz Rails2.0? Its Awesome !
General| 3 Comments »Added the “rake routes” task, which will list all the named routes created by routes.rb.
All resource-based controllers will be plural by default. This allows a single resource to be mapped in multiple contexts and still refer to the same controller. Example:
# /avatars/45 => AvatarsController#show
map.resources :avatars
# /people/5/avatar => AvatarsController#show
map.resources :people, :has_one => […]
Notes on using fb:swf in FaceBook
General| 2 Comments » In facebook groups or discussions… I saw plently of developers struggling to embed fb:swf using FBML.
An example for them to make their life easier
<fb:swf swfsrc=”SRC_URL” allowscriptaccess=”all”
bgcolor=”#ECECEC” id=”some_id” wmode=”transparent” SWLIVECONNECT=”true”
flashvars=”serverPath=http://dynamic_url?fbid=<%=uid%>&some_params=blahblah” height=”200″ width=”382″
imgsrc=”img_url_at_beginning” />
The other Common Wiki Notes for this to be noted:
Currently, Facebook requires Flash version 9.0.0 for all <fb:swf> tags.
Make […]
Embedding Flash in Google Gadget !
General| No Comments »A static flash play can be easily embedded using _IG_EmbedFlash() function in the gadget but since we need to load the xml according to the User Login preferences. I need to do some more modifications.
The issue I faced here is :
For security reasons, a Macromedia Flash playing in a web browser is not allowed to […]
