Archive for month Oct 2014

Installing Ruby RVM is the best Tool to manage multiple versions in your system. # Update your package manager first: $ sudo apt-get update # Install dependencies for ruby # This installs CURL, Git and other dependencies sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties sudo apt-get […]

Read More..

Ruby On Rails: Problem Related To Routingy 

ShivaShiva Bhusal (Software Engineer) 1 Min. Read Oct 9, 2014
 Rails Ruby JS Proposal routingy

Problem I have to edit a proposal among many proposals. When we click edit button a popup appears with all fields filled. There is a button ‘Verify’ to preview the proposal before sending to client via Email. Suppose URL to edit proposal is proposals/:id/edit  It shows a popup with all fields filled and a ‘Send’ and […]

Read More..

Though they look and sound similar, there is significant difference between these method. Some forcefully update the record where some only set the attributes but do not send the query to the database.

Read More..

Jquery Date Picker: Disable Previous Date 

ShivaShiva Bhusal (Software Engineer) 0 Min. Read Oct 7, 2014
 Rails Ruby JS

To disable the user to select dates earlier than a date, you need to create a Date object of your barrier date as follows #Create a Date Object barrierDate = new Date(“2014/02/12”); #Apply datepicker to a field #You can also set format of date you prefer $(‘#idOfDateField’).datepicker({minDate: barrierDate});

Read More..

You might also like

Write To Me

Hire me shiva bhusal
We'll never share your email with anyone else.
I'll never share your email with anyone else.