public
Description: The UberKit is a Rails plugin with a set of UI tools to ease common development.
Homepage: http://www.actsascommunity.com/projects/uberkit
Clone URL: git://github.com/mbleigh/uberkit.git

Comments for mbleigh's uberkit   feed

dallas commented on mbleigh/uberkit Mon Oct 26 16:35:44 -0700 2009
Comment in 2c3ac7f:

Question on this commit regarding lib/uberkit/menu.rb lines 61 and 65 (1st and 5th lines below):

    if subnav.actions.any?
      if options == :delegate
        @actions << [@template.link_to(name, subnav.actions.first[1][:url]) + subnav.to_html, {:current => subnav.any_current?, :url => subnav.actions.first[1][:url]}, options]
      else
        @actions << [@template.link_to(name,options,html_options) + subnav.to_html, {:current => subnav.any_current?, :url => options}, options] if subnav.actions.any?
      end
    end

Shouldn't need to check "if subnav.actions.any?" again, would you?

ack-ack commented on mbleigh/uberkit Mon Sep 01 06:54:14 -0700 2008
Comment in c219287:

Hi, seems it doesn’t work on rails 2.2 HEAD:


ActionView::TemplateError (undefined method `output_buffer=' for #<Uberkit::Forms::Builder:0x1fd7e3c>) on line #1 of app/views//_form.html.erb:
1:   <%= f.text_field :title %>

vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:132:in `with_output_buffer'
    vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:39:in `capture'
    vendor/rails/actionpack/lib/action_view/helpers/tag_helper.rb:71:in `content_tag'
    vendor/plugins/uberkit/lib/uberkit/forms/builder.rb:22:in `generic_field'
    vendor/plugins/uberkit/lib/uberkit/forms/builder.rb:16:in `text_field'
    app/views/ammin/posts/_form.html.erb:1

Thnaks for the nice plugin! Ettore