<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/resource_helper/action_controller_extensions.rb</filename>
    </added>
    <added>
      <filename>lib/resource_helper/active_resource_extensions.rb</filename>
    </added>
    <added>
      <filename>lib/resource_helper/resource_view_helper.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1 @@
-require 'resource_helper'
-require 'active_resource/core_extensions'
-ActiveResource::Base.send :include, ActiveResource::CoreExtensions
\ No newline at end of file
+require 'resource_helper'
\ No newline at end of file</diff>
      <filename>init.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,25 +1,6 @@
-# include this in ApplicationHelper if you want these
-module ResourceViewHelper
-  
-  # very useful for proper form functions.
-  # when calling an ActiveResource URL from a &quot;regular&quot; UI, you would normally get the result of a controller's method
-  # from the ActiveResource _server_.  For example, if on the AR server you have a typical create method
-  # def create
-  #   @foo = Foo.create(params[:foo])
-  #   respond_to do |format|
-  #     format.html
-  #     format.xml { render :nothing =&gt; true. :status =&gt; :created }
-  #   end
-  # end
-  # 
-  # you would get a blank screen on your UI front end.
-  # using this method, in conjunction with the the callback_or_render resource_helper method, you get a callback every time
-  # use in for like this
-  # &lt;form&gt;
-  #  index_callback_tag(Foo)
-  # &lt;/form&gt;
-  # outputs something like &lt;input type=&quot;hidden&quot; name=&quot;callback&quot; value=&quot;http://front-end-ui.example.com/foos&quot;
-  def index_callback_tag(mod)
-    hidden_field_tag(:callback, instance_eval(&quot;#{mod.to_s.tableize}_url&quot;))
-  end
+module ResourceHelper
+  require 'resource_helper/active_resource_extensions'
+  require 'resource_helper/action_controller_extensions'
+  require 'resource_helper/resource_view_helper'
+  ActiveResource::Base.send :include, ResourceHelper::ActiveResourceExtensions
 end
\ No newline at end of file</diff>
      <filename>lib/resource_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4dc177ecd107f9cd4d6ea18639ec7767573fe409</id>
    </parent>
  </parents>
  <author>
    <name>Bryan Taylor</name>
    <email>bryan@rubyisbeautiful.com</email>
  </author>
  <url>http://github.com/rubyisbeautiful/resource_helper/commit/461dd98ad863ad73964ee4eabca52f3556032a81</url>
  <id>461dd98ad863ad73964ee4eabca52f3556032a81</id>
  <committed-date>2008-09-12T07:35:30-07:00</committed-date>
  <authored-date>2008-09-12T07:35:30-07:00</authored-date>
  <message>overhaul of module naming and inclusion</message>
  <tree>789a9e9fa28027c6d2dc577ea62477a3d96db049</tree>
  <committer>
    <name>Bryan Taylor</name>
    <email>bryan@rubyisbeautiful.com</email>
  </committer>
</commit>
