Feeds:
Posts
Comments

Posts Tagged ‘lessons’

There once was a little boy who wanted to meet God. He knew it was a long trip to where God lived, so he packed his suitcase with cupcakes, several cans of root beer and started on his journey. When he had gone about three blocks, he saw an elderly woman. She was sitting on [...]

Read Full Post »

Eyes can’t lie so easily as lips

Read Full Post »

Proxy servers In computer networks, a proxy server is a server (a computer system or an application program) that acts as an intermediary for requests from clients seeking resources from other servers. A client connects to the proxy server, requesting some service, such as a file, connection, web page, or other resource, available from a [...]

Read Full Post »

Criticism

A young couple moves into a new neighborhood. The next morning, while they are eating breakfast, the young woman sees her neighbor hang the wash outside. That laundry is not very clean, she said, she doesn’t know how to wash correctly. Perhaps she needs better laundry soap. Her husband looked on, but remained silent. Every [...]

Read Full Post »

A computer on the Internet is identified by its IP address. In order to avoid address conflicts, IP addresses are publicly registered with the Network Information Centre (NIC). Computers on private TCP/IP LANs however do not need public addresses, since they do not need to be accessed by the public. For this reason, the NIC [...]

Read Full Post »

Got this issue. No worries. Open up environment.rb and Add; config.gem ‘twitter-auth’, :lib => ‘twitter_auth’ That should fix ur issue

Read Full Post »

Removing all .svn folders in Linux

To delete all .svn folders in Linux; Move to your current/working directory (i.e) your project folder (ex: /usr/local/myproject/test). This will delete all the .svn folders under this directory. Execute the following command; find ./ -name “.svn” | xargs rm -Rf Done.

Read Full Post »

Use the “return” statement to fix this issue. (E.g) def do_something redirect_to(:action => “elsewhere”) and return if monkeys.nil? render :action => “overthere” # won’t be called if monkeys is nil end (copied from http://api.rubyonrails.org/classes/ActionController/Base.html)

Read Full Post »

If you see this errror; ERROR RUNNING ‘cluster::configure’: Plugin /cluster::configure does not exist in category /commands Make sure you have; “mongrel_cluster” gem installed. You can see whether it exists in the list by issuing the command; gem list –local If you don’t see it, run; gem install mongrel_cluster That should fix your issue.

Read Full Post »

This is helpful to have the single login for multiple level domains. Edit your environment configuration and add something like this; (E.g in environment.rb or production.rb) config.action_controller.session = {:domain => “.arthurneil.com”, :key => ‘_arthurs_session_id’, :secret => ’4gfsdf234jmfv35ksdf23m44m4m4neserf345′} Likewise, to target the cookies based on particular domain, try; (E.g) cookies[:my_test_cookie] = {:value => “test”, :expires => [...]

Read Full Post »

Older Posts »