Icon_search

Items tagged with "ruby on rails"

Show:  All  |  News Items  |  Blog Posts

Blog Posts

Dynamic Select Menus in Rails using Observe_Field

Mar 16, 2010 by Charlie

I frequently find myself building forms which contain dynamic select menus. This means that a user selects a choice from one menu, and that choice populates options into a second menu. An example of this might be a scenario where the user selects their state from a drop-down menu, then selects their city from a second menu. We only want that second menu to contain citie...

Tagged: dynamic select menus, ruby on rails, ruby, rails, observe field, javascript, jquery, prototype

Plexus iPhone Conversion

Jan 21, 2009 by Travis

I started wondering a few days ago, "Why don't we have an iPhone version of the Plexus site?" So I did some research and found that enabling a Ruby on Rails site for the iPhone was easier than I thought. I found a great tutorial outlining how to create a custom mime-type and create iPhone-specific pages. I took advantage of a few tools to make my job a bit easier. i...

Tagged: iphone, ipod touch, rails, ruby on rails

Form Validation vs. Correction in Rails

Dec 17, 2008 by Charlie

Developers have a great deal of control over a web user's experience, and when it comes to validating input forms, opportunities to make things smoother for the user are something every good developer should think about. For example, I am working on a project right now where users can enter the URL of a link into the database-driven content. In order for the link to ...

Tagged: ruby, rails, ruby on rails, validation, correction, forms, user experience

Sign of the Times

Jan 11, 2008 by Kim

Last night my barely 4-year-old son disappeared from the bathtub. I found him in our office – naked and soapy – at the computer. When I asked him what he was doing he said he wanted to "get online and look for mermaids." Surprised by his response I asked if he knew what "online" meant. "Yes. It's when you go get on the computer and look for stuff." I haven't fully p...

Tagged: ruby on rails, technology, computers

Rails inline ERb effects on HTML structure

Mar 20, 2007 by Travis

When using Ruby on Rails, ERb (embedded Ruby) is used a LOT in the X/HTML. There are two types of ERb, An evaluation block: <% some_code %> And an output block: <%= @print_this_variable %> These blocks are necessary when using Rails, and I've noticed that when I do a 'View Source' (via the Web Developer addon for Firefox, of course), I se...

Tagged: ruby on rails, rails, ruby, erb, xhtml