Posts tagged ‘ruby on rails’
Dynamically update URL using jQuery
I am using jQuery FullCalendar for a project and the view can be either a day, a month, or a year. The user can move around the calendar by clicking back and forward arrows, and none of these clicks will cause a page refresh. However the “start” and “end” dates change depending on the current [...]
How to install RVM with ruby on rails
Learn how to install and configure RVM with both rails 3 and rails 2 apps. RVM allows users to deploy each project with its own self-contained and dedicated environment–from the specific version of ruby all the way down to the precise set of required gems to run the application.
Ruby to Javascript Dates
Recently I was using the JQuery UI datepicker widget and needed to restrict dates to a range in the popup calendar selector. In order to do so I had to pass the Ruby Date to javascript. My goal is usually to write as little javascript/jquery code as possible, i.e. to do all the necessary conversions [...]