Just another Web Developer blog

From the Blog

A friend of mine recently shared how he suggests to implement Popover functions using twitter bootstrap. I have a different way of doing this after reading through the documentation for the popover.

Firstly, follow the steps at the Twitter Bootstrap for Rails post. Once you have it setup to meet your needs, just do the following on a field that requires a popover.

//in the js file
$('#user_username').popover()
//on the form
//ERB
<%= f.text_field :username, "data-content" => "This is a username", "data-title" => "Username" %>
//Or simple_form
<%= f.input :username, :input_html => {"data-content" => 'This is a username', "data-title" => 'Username'} %>

Which should show something like this:

Thanks,

Cameron Stitt

Mar
20
Posted by Cameron at 1:10 pm

Before we begin Part 2 of the Rails on Windows series, be sure to check out Part 1 here.

Now that we have installed Ruby on Rails on Windows and you have created a few projects with Rails on Windows (I hope!), each post in this series will now describe a few features that can help you develop applications for Rails on Windows.

(more…)

Whether people like it or not, Windows is a huge player in the computer world. Ruby on Rails was created to work primarily on *nix based systems. This is understandable, however I feel for the many Windows users that don’t get to experience the pure joy of Ruby on Rails.

This post is the first in a series that will cover how to setup and install Ruby on Rails on the Windows operating system. I will also explain how to host a site on Windows as well as how to create a somewhat single sign-on environment which will allow you to create intranet sites (a big plus to .Net development for Windows based companies). (more…)