• Skip to content
  • Skip to primary sidebar

Sazbean

Software Development Management

Main navigation

  • Home
  • About
You are here: Home / Archives for rjs

rjs

Aaron Worsham / Aug 27, 2008

Quick bite – show / hide button in Rails, RJS

Sazbean is about online business strategy and we work hard to keep this blog as accessible to our readers as possible. ‘Say it with words, not code’ is one of our guiding principles which keeps us honest when covering technical topics with applied business uses. A principle, I should add, that I will be flagrantly ignoring for this post.

It isn’t always wise to hold back that urge to express our deeper technical understand of a subject we are passionate about. Instead, we have opted to create a segment called quick bites that will be short, technically focused example posts about some subject we are currently working.

I was recently building a UI for a client in Rails and found a good use for a show/hide button in the design. Show/hide buttons, as their names describe, reveal content when pressed and then hide it when pressed again. Typical example code for this using Rails and Javascript might be…

[Read more…] about Quick bite – show / hide button in Rails, RJS

Primary Sidebar

About Sazbean


Sarah Worsham (Sazbean) is a Webgrrl = Solution Architect + Product Management (Computer Engineer * Geek * Digital Strategist)^MBA. All views are her own.

Business + Technical Product Management

My sweet spot is at the intersection between technology and business. I love to manage and develop products, market them, and deep dive into technical issues when needed. Leveraging strategic and creative thinking to problem solving is when I thrive. I have developed and marketed products for a variety of industries and companies, including manufacturing, eCommerce, retail, software, publishing, media, law, accounting, medical, construction, & marketing.

Copyright © 2008 - 2025 Sazbean • All rights reserved.