Sha256: 38184b57cc4e57f8b818689531d3145f747aab7da1f7d27ace61af266e57878e

Contents?: true

Size: 620 Bytes

Versions: 21

Compression:

Stored size: 620 Bytes

Contents

require 'interface_builder/haml_builder'
require 'interface_builder/model_stub'
require 'interface_builder/view_helper'
require 'interface_builder/support'

ActionController::Base.class_eval do
  helper InterfaceBuilder::ViewHelper
end

ActionView::Base.field_error_proc = lambda do |html_tag, instance|
  html_tag
end

module InterfaceBuilder
  class << self
    attr_accessor :plugin_name
    
    def generate_helper_methods *args
      InterfaceBuilder::ViewBuilder.generate_helper_methods *args
    end
  end
end

Rails.development{RailsExt.create_public_symlinks!} # rails_ext.css, rails_ext.js in development mode

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
rails-ext-0.3.25 lib/interface_builder.rb
rails-ext-0.3.24 lib/interface_builder.rb
rails-ext-0.3.23 lib/interface_builder.rb
rails-ext-0.3.22 lib/interface_builder.rb
rails-ext-0.3.21 lib/interface_builder.rb
rails-ext-0.3.20 lib/interface_builder.rb
rails-ext-0.3.19 lib/interface_builder.rb
rails-ext-0.3.18 lib/interface_builder.rb
rails-ext-0.3.17 lib/interface_builder.rb
rails-ext-0.3.16 lib/interface_builder.rb
rails-ext-0.3.15 lib/interface_builder.rb
rails-ext-0.3.14 lib/interface_builder.rb
rails-ext-0.3.13 lib/interface_builder.rb
rails-ext-0.3.12 lib/interface_builder.rb
rails-ext-0.3.11 lib/interface_builder.rb
rails-ext-0.3.10 lib/interface_builder.rb
rails-ext-0.3.9 lib/interface_builder.rb
rails-ext-0.3.8 lib/interface_builder.rb
rails-ext-0.3.6 lib/interface_builder.rb
rails-ext-0.3.5 lib/interface_builder.rb