<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Right Traq Blog</title>
    <link>http://www.righttraq.com/blog/</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Right Traq Blog</description>
    <item>
      <title>Rails Subversion External Management with Piston</title>
      <description>&lt;p&gt;I&amp;#8217;ve been mulling over the best way to manage the many plugins I use that have external svn repositories.  Luckily Piston makes light work of vendor branch management in rails.&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://piston.rubyforge.org/index.html"&gt;Piston Homepage&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Here&amp;#8217;s a rundown:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
$ gem install --include-dependencies piston

$ cd $your_rails_project_cwd

$ piston convert
Importing 'http://svn.techno-weenie.net/projects/plugins/acts_as_versioned' to vendor/plugins/acts_as_versioned (-r 2691)
Exported r2691 from 'http://svn.techno-weenie.net/projects/plugins/acts_as_versioned' to 'vendor/plugins/acts_as_versioned'

...

$ svn proplist --verbose vendor/plugins/acts_as_versioned/
Properties on 'vendor/plugins/acts_as_versioned':
  piston:root : http://svn.techno-weenie.net/projects/plugins/acts_as_versioned
  piston:local-revision : 19
  piston:uuid : 567b1171-46fb-0310-a4c9-b4bef9110e78
  piston:remote-revision : 2691
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;Now, when I deploy my app with capistrano or check out a cwd with subversion I&amp;#8217;ll grab revision 2691 of acts_as_versioned instead of a newer revision that I haven&amp;#8217;t tested with my app.&lt;/p&gt;


	&lt;p&gt;Ok, great I could have done something similar by hand, but Piston makes handling the large number of plugins very easy to deal with super easy to manage updates.&lt;/p&gt;


	&lt;p&gt;Problem Solved.  Thank you Piston developer François Beausoleil!&lt;/p&gt;</description>
      <pubDate>Sun,  4 Feb 2007 00:25:00 EST</pubDate>
      <guid>http://www.righttraq.com/blog/articles/2007/02/04/rails-subversion-external-management-with-piston</guid>
      <link>http://www.righttraq.com/blog/articles/2007/02/04/rails-subversion-external-management-with-piston</link>
      <trackback:ping>http://www.righttraq.com/blog/articles/trackback/25</trackback:ping>
    </item>
    <item>
      <title>Rails Reporting with acts_as_reportable</title>
      <description>&lt;p&gt;One of the biggest missing features of Rails has been the lack of a reporting tool.  Dynamic reporting is a pain in just about any language, but particularly with Rails because of predefined views and railsish renderings.  Views are great when working with predefined sets of data derived from ActiveRecord.&lt;/p&gt;


	&lt;p&gt;Unfortunately it isn&amp;#8217;t easy to dynamically query and render resulting data sets.&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://ruport.rubyforge.org/"&gt;Ruport&lt;/a&gt; has been around for some time now, but until now hasn&amp;#8217;t had a sweet rails plugin to convert ActiveRecord data to ruport data collections.&lt;/p&gt;


	&lt;p&gt;Along comes &lt;a href="http://stonecode.svnrepository.com/acts_as_reportable/trac.cgi"&gt;acts_as_reportable&lt;/a&gt;...&lt;/p&gt;


	&lt;p&gt;With acts_as_reportable you can do really cool stuff like this:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
class Part &amp;lt; ActiveRecord::Base
  acts_as_reportable
  belongs_to :account
  belongs_to :category
end

class Category &amp;lt; ActiveRecord::Base
  acts_as_reportable
  has_many :parts
end

class Account &amp;lt; ActiveRecord::Base
  acts_as_reportable
  has_many :parts
  has_many :categories, :through =&amp;gt; :parts
end

class ReportsController &amp;lt; ApplicationController
  def index
    parts = Part.report_table(:all, :include =&amp;gt; [:account, :category])

    # Remove non content columns
    parts.column_names.each{ |c| parts.remove_column(:name =&amp;gt; c) if c =~ /(.id|_id|_count)$/ }

    # Convert table headings
    parts.column_names = parts.column_names.collect{ |cn| cn.gsub(/\./, ' ').titleize }

    render :text =&amp;gt; parts.as(:html), :layout =&amp;gt; true
  end
end
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;&lt;a href="/reports-index.html"&gt;See the results here&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;The possibilities here are pretty awesome.  To make this work really well, we could very easily create a form to add conditions to a find.  Combine it with something like the &lt;a href="http://agilewebdevelopment.com/plugins/ez_where"&gt;ez_where&lt;/a&gt; plugin and you&amp;#8217;ve got some pretty powerful reporting functionality.&lt;/p&gt;</description>
      <pubDate>Wed, 31 Jan 2007 21:25:00 EST</pubDate>
      <guid>http://www.righttraq.com/blog/articles/2007/01/31/rails-reporting-with-acts_as_reportable</guid>
      <link>http://www.righttraq.com/blog/articles/2007/01/31/rails-reporting-with-acts_as_reportable</link>
      <category>Rails Development</category>
      <trackback:ping>http://www.righttraq.com/blog/articles/trackback/24</trackback:ping>
    </item>
    <item>
      <title>Happy New Year!!!</title>
      <description>&lt;p&gt;Welcome to 2007!  We&amp;#8217;re all excited about big things coming up in the year.  This month we are rolling out the &lt;span class="caps"&gt;TRAQ&lt;/span&gt;Inventory.com beta and we&amp;#8217;re working on some other super secret projects to add to our inventory management services.&lt;/p&gt;</description>
      <pubDate>Mon,  1 Jan 2007 11:28:00 EST</pubDate>
      <guid>http://www.righttraq.com/blog/articles/2007/01/01/happy-new-year</guid>
      <link>http://www.righttraq.com/blog/articles/2007/01/01/happy-new-year</link>
      <category>Misc.</category>
      <trackback:ping>http://www.righttraq.com/blog/articles/trackback/23</trackback:ping>
    </item>
    <item>
      <title>Merry Christmas To All!</title>
      <description>&lt;p&gt;Well, we&amp;#8217;re pretty close to Christmas, it&amp;#8217;s been a heck of a year for us here at Right Traq.  We&amp;#8217;re all looking forward to spending some time with our families, and having a few days of down time.&lt;/p&gt;


	&lt;p&gt;So Merry Christmas and Happy New Year!&lt;/p&gt;


	&lt;p&gt;2007 here we come!&lt;/p&gt;</description>
      <pubDate>Thu, 21 Dec 2006 17:34:00 EST</pubDate>
      <guid>http://www.righttraq.com/blog/articles/2006/12/21/merry-christmas-to-all</guid>
      <link>http://www.righttraq.com/blog/articles/2006/12/21/merry-christmas-to-all</link>
      <category>Misc.</category>
      <trackback:ping>http://www.righttraq.com/blog/articles/trackback/22</trackback:ping>
    </item>
    <item>
      <title>Beta Coming Real-Soon-Now!</title>
      <description>&lt;p&gt;After a very long wait, I just want to let everyone know that the beta program will be launching in a week or two.  We&amp;#8217;ve made major breakthroughs, and we&amp;#8217;re just about ready to start the closed beta.&lt;/p&gt;


	&lt;p&gt;You can imagine how excited we are to launch this program, and we hope all of our testers are just as excited.&lt;/p&gt;


	&lt;p&gt;For prospective buyers we&amp;#8217;re bringing a &lt;strong class="highlight"&gt;simple inventory management system&lt;/strong&gt; with no strings attached.  No IT staff needed, no million dollar upfront investment required, never pay for updates, you don&amp;#8217;t even have to worry about backups&amp;#8230;we do it for you.&lt;/p&gt;


	&lt;p&gt;More big news coming soon!&lt;/p&gt;</description>
      <pubDate>Thu, 30 Nov 2006 20:23:00 EST</pubDate>
      <guid>http://www.righttraq.com/blog/articles/2006/11/30/beta-coming-real-soon-now</guid>
      <link>http://www.righttraq.com/blog/articles/2006/11/30/beta-coming-real-soon-now</link>
      <category>TRAQInventory</category>
      <category>Inventory Management</category>
      <trackback:ping>http://www.righttraq.com/blog/articles/trackback/21</trackback:ping>
    </item>
    <item>
      <title>Welcome Hadyn</title>
      <description>&lt;p&gt;On Monday Right Traq added a new member to our team.  I&amp;#8217;d like to welcome Hadyn to our technical staff.&lt;/p&gt;


	&lt;p&gt;Hadyn will be working on a number of technical projects that we have going on in house.  Hadyn&amp;#8217;s background is in Information Science and Technology &amp;#8211; Systems Development.  He&amp;#8217;s already jumped into the exciting world of Ruby on Rails.  We&amp;#8217;re very glad to have him.&lt;/p&gt;</description>
      <pubDate>Wed, 18 Oct 2006 13:25:00 EDT</pubDate>
      <guid>http://www.righttraq.com/blog/articles/2006/10/18/welcome-hadyn</guid>
      <link>http://www.righttraq.com/blog/articles/2006/10/18/welcome-hadyn</link>
      <trackback:ping>http://www.righttraq.com/blog/articles/trackback/20</trackback:ping>
    </item>
    <item>
      <title>Development Update</title>
      <description>&lt;p&gt;First of all we appreciate all the interest in the &lt;a href="http://beta.traqinventory.com"&gt;beta program&lt;/a&gt;!  Thanks to everyone who has signed so far or shown interest.&lt;/p&gt;


	&lt;p&gt;We&amp;#8217;re still about four week off, so there is still time to sign up.&lt;/p&gt;


	&lt;p&gt;Until then bear with us, send us your thoughts on inventory management, what you&amp;#8217;re looking for, what are your needs.  We&amp;#8217;ve pretty much got a handle on what we&amp;#8217;re going live with but we&amp;#8217;re still interested in your input.  We&amp;#8217;d also like to know what type of software you&amp;#8217;re using already or what software you&amp;#8217;d like to integrate with.&lt;/p&gt;


	&lt;p&gt;If you&amp;#8217;ve got input &lt;a href="mailto:info@righttraq.com"&gt;email us&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Thu,  5 Oct 2006 23:06:00 EDT</pubDate>
      <guid>http://www.righttraq.com/blog/articles/2006/10/05/development-update</guid>
      <link>http://www.righttraq.com/blog/articles/2006/10/05/development-update</link>
      <category>Business Development</category>
      <category>Inventory Management</category>
      <trackback:ping>http://www.righttraq.com/blog/articles/trackback/19</trackback:ping>
    </item>
    <item>
      <title>New Ruby Site</title>
      <description>&lt;p&gt;There is a new &lt;a href="http://www.ruby-lang.org"&gt;Ruby Language website&lt;/a&gt;!&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;d really have to say I like the new look, and the new home page says it all&amp;#8230;&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
# Ruby knows what you
# mean, even if you
# want to do math on
# an entire Array
cities  = %w[ London
              Oslo
              Paris
              Amsterdam
              Berlin ]
visited = %w[Berlin Oslo]

puts "I still need " +
     "to visit the " +
     "following cities:",
     cities - visited
&lt;/code&gt;&lt;/pre&gt;</description>
      <pubDate>Tue, 12 Sep 2006 19:06:00 EDT</pubDate>
      <guid>http://www.righttraq.com/blog/articles/2006/09/12/new-ruby-site</guid>
      <link>http://www.righttraq.com/blog/articles/2006/09/12/new-ruby-site</link>
      <category>Rails Development</category>
      <category>Misc.</category>
      <trackback:ping>http://www.righttraq.com/blog/articles/trackback/18</trackback:ping>
    </item>
    <item>
      <title>Welcome Mari</title>
      <description>&lt;p&gt;The past few weeks have been exciting, and we&amp;#8217;ve had some new developments.  We&amp;#8217;d like to welcome the newest member of our team, &lt;strong class="highlight"&gt;Mari&lt;/strong&gt;!&lt;/p&gt;


	&lt;p&gt;Mari will be working on our marketing projects, and I hope to get her on the blog soon.  Mari has a background in marketing and accounting, and she&amp;#8217;s already started on a few projects that we&amp;#8217;re thrilled about.&lt;/p&gt;</description>
      <pubDate>Wed, 30 Aug 2006 10:58:00 EDT</pubDate>
      <guid>http://www.righttraq.com/blog/articles/2006/08/30/welcome-mari</guid>
      <link>http://www.righttraq.com/blog/articles/2006/08/30/welcome-mari</link>
      <category>Misc.</category>
      <category>Business Development</category>
      <trackback:ping>http://www.righttraq.com/blog/articles/trackback/17</trackback:ping>
    </item>
    <item>
      <title>Ruby on Rails Inventory Management</title>
      <description>&lt;p&gt;When we founded Right Traq I had tons of experience doing custom &lt;span class="caps"&gt;PHP &lt;/span&gt;Inventory applications.  Some of them were plain old function based, and others &lt;span class="caps"&gt;MVC&lt;/span&gt; based.  About a year before we got started I had a prototype asset manager that I did in rails-0.12.1.  This project was my first go at a rails application and I was astonished.  It was relatively easy to develop, and in about 2 weeks I had about the same features as a huge &lt;span class="caps"&gt;PHP&lt;/span&gt; project I worked on for 6 months.  &lt;a href="http://www.rubyonrails.org/"&gt;Ruby on Rails&lt;/a&gt; really made development simple.  Most of routine tasks needed for my projects were already taken care of in Rails, and better yet I could easily add features that really separate it from the competition.&lt;/p&gt;


&lt;p class="highlight"&lt;a href="http://www.traqinventory.com"&gt;TRAQInventory&lt;/a&gt; is a &lt;strong&gt;Ruby on Rails Inventory Management&lt;/strong&gt; application.&lt;/p&gt;

	&lt;p&gt;After 6 months of development &lt;span class="caps"&gt;TRAQ&lt;/span&gt;Inventory is the result.  We like to call it &lt;em&gt;Inventory Management 2.0&lt;/em&gt; because &lt;span class="caps"&gt;TRAQ&lt;/span&gt;Inventory brings Web 2.0 features that drive social networking, user generated content, and semantic web content to inventory management.  &lt;em&gt;Inventory Management 2.0&lt;/em&gt; means your inventory data can actually tell you something, send you messages, integrate with other apps and be more of an information tool than a cumbersome liability that underperforms, and wastes time and money.&lt;/p&gt;


	&lt;p&gt;So I am pleased to announce that we&amp;#8217;re opening the signup for the &lt;span class="caps"&gt;TRAQ&lt;/span&gt;Inventory Beta program.&lt;/p&gt;


	&lt;p&gt;Click &lt;a href="http://beta.traqinventory.com/"&gt;Beta Signup&lt;/a&gt; to sign up for the &lt;span class="caps"&gt;TRAQ&lt;/span&gt;Inventory beta program.&lt;/p&gt;</description>
      <pubDate>Mon, 21 Aug 2006 21:29:00 EDT</pubDate>
      <guid>http://www.righttraq.com/blog/articles/2006/08/21/ruby-on-rails-inventory-management</guid>
      <link>http://www.righttraq.com/blog/articles/2006/08/21/ruby-on-rails-inventory-management</link>
      <category>Inventory Management</category>
      <category>Rails Development</category>
      <category>TRAQInventory</category>
      <trackback:ping>http://www.righttraq.com/blog/articles/trackback/16</trackback:ping>
    </item>
  </channel>
</rss>
