There are no reviews yet. Be the first to send feedback to the community and the maintainers!
= SemanticMenu A plugin to make large menus easier to write. Supports arbitrarily deep nesting; parents will be marked as 'active' if any of its children are active. == Example <%= semantic_menu do |root| root.add "overview", root_path root.add "comments", comments_path end %> Assuming you are on /comments, the output would be: <ul class="menu"> <li> <a href="/">overview</a> </li> <li class="active"> <a href="/comments">comments</a> </li> </ul> add and semantic_menu both take an optional parameter hash, and you can nest the menu as deeply as you want: <%= semantic_menu :class => 'top_level_nav' do |root| root.add "overview", "root_path" root.add "comments", "comments_path", :class => 'button' do |comments| comments.add "My Comments", "my_comments_path" comments.add "Recent", "recent_comments_path" end end %> This would look like this: <ul class="top_level_nav"> <li> <a href="root_path">overview</a> </li> <li class="active"> <a href="comments_path" class="button">comments</a> <ul class="menu_level_1"> <li class="active"> <a href="my_comments_path">My Comments</a> </li> <li> <a href="recent_comments_path">Recent</a> </li> </ul> </li> </ul> Copyright (c) 2008 Daniel Haran, released under the MIT license
our-parliament
Republishing Canada's Hansardtimestamped_boolean
A rails plugin that creates boolean methods on a timestamped fieldruby-aaws
clone of https://rubyforge.org/projects/ruby-aaws/canadian-postal-code-to-electoral-districts
addressbookimporter
Fork of Adocca's importer, with a fix for gmail importpc_scraper
postal code to edid scrapergithub_resys
submission to github's contest; code will be released soon :)hansard_scraper
get parl.gc.ca Hansard into a saner formatbiximo
Code for biximo.com, a mobile-accessible google map of bixi stationspostal_code_to_edid_webservice
people_you_may_know
given a social graph, suggests people you may knowtwitterjobbot
Sends direct messages to twitter users, based on their preferencespresenter_test
A simple app with r_avalidations
Extraction of common rails validationsscraper
TODOsupport
A collection of ruby core extensions I find useful.isochrones
confidence
MP voting record scrapermp-ca-scraper
scraper + web service for Canadian MPsminiblog
the bare necessities for bloggingprisoners_dilemma
danielharan.com
personal siteLove Open Source and this site? Check out how you can help us