Feeds:
Posts
Comments

Posts Tagged ‘tips’

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 »

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 »

If you are trying to run the script in an updated div, that may work with the internal scripts – something like; <script type=”text/javascript”> alert(‘hello’); </script> But when you try to access some external javascrips, (e.g); <script type=”text/javascript”> <script type=”text/javascript” src=”/javascripts/my_script.js”></script> </script> that will not work. The work-around is; [if you are using mootools.js for [...]

Read Full Post »

Rails comes with a script/runner script that can be used to run the code in your Rails app. There’re many ways to organize your code to let this runner script execute it, but one obvious way is to write the code as a model’s action. Here are quick steps for doing this: 1. Insert the [...]

Read Full Post »

When you find this error alert in windows, make sure you do one of the following; Find the LIBMYSQL.dll file and add its location to the PATH(environment-variable) (or) copy LIBMYSQL.dll to the System32 directory.

Read Full Post »

If you find this error during rails installation, one solution may be this. Setting up http proxy Gem install behind proxy – MAC

Read Full Post »

Setting up http proxy

Windows XP 1. Open the Control Panel and click the System icon. The System Properties dialog is displayed. 2. On the Advanced tab, click on Environment Variables. The Environment Variables dialog is displayed. 3. Click New in the System variables panel. The New Sytem Variable dialog is displayed. 4. Add http_proxy with the appropriate proxy [...]

Read Full Post »

The first thing is, we can have something like inline exception handlers. rescue_from ActiveRecord::RecordNotFound do render :file => ‘/bad_record’, :status => 404 end Block can even take have an argument for exception object. rescue_from ActiveRecord::RecordInvalid do |exception| render :action => (exception.record.new_record? ? ‘new’ : ‘edit’) end The above method will be helpful if we use [...]

Read Full Post »

Older Posts »