<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for philadelphia</title><link>http://disqus.com/by/philadelphia/</link><description></description><atom:link href="http://disqus.com/philadelphia/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 04 Jan 2009 18:45:25 -0000</lastBuildDate><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-4884459</link><description>&lt;p&gt;I found that if I first get the sqlite3 lib with  " sudo apt-get install libsqlite3-dev", then the "sudo gem install sqlite3-ruby" works fine.&lt;/p&gt;&lt;p&gt;Mike&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Sun, 04 Jan 2009 18:45:25 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-4884434</link><description>&lt;p&gt;OK.. spoke too soon.  Mongrel installed by sqlite3-ruby complains about " No rule to make target `ruby.h'".&lt;/p&gt;&lt;p&gt;Googling now.&lt;/p&gt;&lt;p&gt;Mike&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Sun, 04 Jan 2009 18:43:36 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-4884401</link><description>&lt;p&gt;Hi there!  Busy at work here.  Things are rolling along.  Lots of heavy lifting, but gradually getting there.&lt;/p&gt;&lt;p&gt;Quick comment on setting up the external site.  My Ubuntu server on slice did not come with 'make'.  I used "sudo apt-get install build-essential" to install the gnu compiler, after which all worked well.&lt;/p&gt;&lt;p&gt;I may have missed a step in the tutorial.  Perhaps this will help a classmate.&lt;/p&gt;&lt;p&gt;Take care,&lt;br&gt;Mike&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Sun, 04 Jan 2009 18:40:06 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-4490185</link><description>&lt;p&gt;:-)&lt;/p&gt;&lt;p&gt;Works like a champ &lt;b&gt;without&lt;/b&gt; the requires!&lt;/p&gt;&lt;p&gt;Thanks!!!&lt;br&gt;Mike&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Thu, 18 Dec 2008 17:09:28 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-4489450</link><description>&lt;p&gt;Yes... I will try that.  I have it working in after commenting out two included libraries I had used in a couple of the models.  These were:&lt;br&gt;acts_as_mappable and uuidtools.  Neither of these are required for my current testing.  They are used for adding devices and locations.&lt;/p&gt;&lt;p&gt;So....  will use your idea right now... and let you know how it goes.&lt;/p&gt;&lt;p&gt;Thanks!&lt;br&gt;Mike&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Thu, 18 Dec 2008 16:39:26 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-4488877</link><description>&lt;p&gt;Sort of...&lt;/p&gt;&lt;p&gt;I have an XML file I read in to pull some specifics about the User and the site to be tested.&lt;/p&gt;&lt;p&gt;I set up a log file to ouput status.&lt;/p&gt;&lt;p&gt;I've created 500 or so components in the DB I need to update through HTTP POSTS.&lt;/p&gt;&lt;p&gt;I've been using:  res = Net::&lt;a href="http://HTTP.new" rel="nofollow noopener" target="_blank" title="HTTP.new"&gt;HTTP.new&lt;/a&gt;(&lt;a href="http://url.host" rel="nofollow noopener" target="_blank" title="url.host"&gt;url.host&lt;/a&gt;, url.port).start {|http| http.request(req) } to do so, from within a Windows Service I built.&lt;/p&gt;&lt;p&gt;In the Windows Service, I don't need access to the local classes... I'm just pulling a small amount of information from the XML file and from the local PC.&lt;/p&gt;&lt;p&gt;In the case of the test, I wanted to pull the specific endpoint information from the System Under Test.  I can get at the classes to pull information, but one of the ones I need to access implements "acts_as_mappable".  This is a class located within the lib/geo_kit directory.  Unfortunately, I can't seem to be able to get the script to see this file.&lt;/p&gt;&lt;p&gt;My next step is to comment out the acts_as_mappable, in my locations model,  to see if I can make it work...&lt;/p&gt;&lt;p&gt;Here's the script so far:&lt;/p&gt;&lt;p&gt; require File.dirname(__FILE__) + '/../config/boot'&lt;br&gt;  require 'rubygems'&lt;br&gt;  require 'activerecord'&lt;br&gt;  require 'xmlrpc/client'&lt;br&gt;  require 'win32/daemon'&lt;br&gt;  require 'net/http'&lt;br&gt;  require 'uri'&lt;br&gt;  require "rexml/document"&lt;br&gt;  require 'user'&lt;br&gt;  mappable_path = '../lib/geo_kit/acts_as_mappable'&lt;br&gt;  require 'location'&lt;br&gt;  require File.dirname(mappable_path)&lt;/p&gt;&lt;p&gt;  LOG_FILE = File.dirname(__FILE__) + '/test.log'&lt;/p&gt;&lt;p&gt;  #here we want to read in the xml config file &lt;br&gt;  @doc = REXML::&lt;a href="http://Document.new" rel="nofollow noopener" target="_blank" title="Document.new"&gt;Document.new&lt;/a&gt; &lt;a href="http://File.new" rel="nofollow noopener" target="_blank" title="File.new"&gt;File.new&lt;/a&gt;("./config/test_config.xml")&lt;/p&gt;&lt;p&gt;  #open the log file&lt;br&gt;  &lt;a href="http://File.open" rel="nofollow noopener" target="_blank" title="File.open"&gt;File.open&lt;/a&gt;(LOG_FILE, 'a+'){ |f|&lt;br&gt;      f.puts @doc&lt;br&gt;  }&lt;br&gt;  #establish the xml doc root&lt;br&gt;  root = @doc.root&lt;br&gt;  #grab the user name &amp;amp; pwd for the test&lt;br&gt;  @user_name = root.elements[1].elements["user_name"].text&lt;br&gt;  @pwd = root.elements[1].elements["pwd"].text&lt;br&gt;  @remote_server = root.elements[4].elements["remote_server"].text&lt;br&gt;  # Initialize ActiveRecord&lt;br&gt;  config = YAML.load_file('./config/database.yml')&lt;/p&gt;&lt;p&gt;  #grab the development configuration&lt;br&gt;  spec = &lt;a href="http://HashWithIndifferentAccess.new" rel="nofollow noopener" target="_blank" title="HashWithIndifferentAccess.new"&gt;HashWithIndifferentAccess.new&lt;/a&gt;(config['development'])&lt;br&gt;  # Uncomment the next two lines if you want to see the SQL&lt;br&gt;  # ActiveRecord::Base.logger = &lt;a href="http://Logger.new" rel="nofollow noopener" target="_blank" title="Logger.new"&gt;Logger.new&lt;/a&gt; $stderr&lt;br&gt;  # ActiveRecord::Base.colorize_logging = false&lt;br&gt;  ActiveRecord::Base.establish_connection(spec)&lt;/p&gt;&lt;p&gt;   msg = 'Testing script started at: ' + Time.now.to_s&lt;br&gt;   &lt;a href="http://File.open" rel="nofollow noopener" target="_blank" title="File.open"&gt;File.open&lt;/a&gt;(LOG_FILE, 'a+'){ |f|&lt;br&gt;      f.puts msg&lt;br&gt;    }&lt;/p&gt;&lt;p&gt;   url = URI.parse(@remote_server + '/svc/post_kw_reading/')&lt;br&gt;   req = Net::HTTP::&lt;a href="http://Post.new" rel="nofollow noopener" target="_blank" title="Post.new"&gt;Post.new&lt;/a&gt;(url.path)&lt;br&gt;   req.basic_auth @user_name, @pwd&lt;br&gt;   #find the locations for the user from the config file&lt;br&gt;   locations = User.find_by_login(@user_name).locations&lt;br&gt;   #create an array to hold devices&lt;br&gt;   devices = &lt;a href="http://Array.new" rel="nofollow noopener" target="_blank" title="Array.new"&gt;Array.new&lt;/a&gt;&lt;br&gt;   #add the devices for the user to the array&lt;br&gt;   locations.each {|l|devices.push location.devices}&lt;/p&gt;&lt;p&gt;    #start the while loop which will send usage data to the web server &lt;br&gt;    #appearing as actual clients&lt;br&gt;     while true&lt;/p&gt;&lt;p&gt;        for device in devices&lt;/p&gt;&lt;p&gt;          #make up some kw and voltage readings&lt;br&gt;          kw = rand(10)&lt;br&gt;          volts = 119.5 + rand&lt;/p&gt;&lt;p&gt;          req.set_form_data({:kw =&amp;gt; kw, :volts=&amp;gt;Vrms, :guid=&amp;gt;device.guid,:cost=&amp;gt;'0.22'} )&lt;/p&gt;&lt;p&gt;          res = Net::&lt;a href="http://HTTP.new" rel="nofollow noopener" target="_blank" title="HTTP.new"&gt;HTTP.new&lt;/a&gt;(&lt;a href="http://url.host" rel="nofollow noopener" target="_blank" title="url.host"&gt;url.host&lt;/a&gt;, url.port).start {|http| http.request(req) }&lt;/p&gt;&lt;p&gt;          case res&lt;br&gt;            when Net::HTTPSuccess, Net::HTTPRedirection&lt;br&gt;              &lt;a href="http://File.open" rel="nofollow noopener" target="_blank" title="File.open"&gt;File.open&lt;/a&gt;(LOG_FILE, 'a+'){ |f| f.puts res }&lt;br&gt;            else&lt;br&gt;              &lt;a href="http://File.open" rel="nofollow noopener" target="_blank" title="File.open"&gt;File.open&lt;/a&gt;(LOG_FILE, 'a+'){ |f| f.puts 'Error in posting' }&lt;br&gt;          end&lt;br&gt;              sleep 60&lt;br&gt;       end&lt;/p&gt;&lt;p&gt;     end&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Thu, 18 Dec 2008 16:20:28 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-4488340</link><description>&lt;p&gt;H there,&lt;/p&gt;&lt;p&gt;I'm working on some test capabilities for the final project.  I want to be able to run a server which will inject messages using HTTP to my WEBrick web service.&lt;/p&gt;&lt;p&gt;I've created a script which will do this.  I can make it run as long as I do not attempt to access any User Defined Classes, for example Classes in my app/models directory.&lt;/p&gt;&lt;p&gt;I've tried to include the environment by using:&lt;/p&gt;&lt;p&gt;require File.dirname(__FILE__) + '/../config/boot'&lt;/p&gt;&lt;p&gt;which is apparently how the script/console and other scripts pull in the Environment variables.  The script does not recognize my model classes.  If I require them in my script explicitly, I can see them, but if they refer to additional classes (maintained in the lib library), Ruby complains about not being able to find them.&lt;/p&gt;&lt;p&gt;Is there any way to make this work?  Please let me know if you need me to provide more information.&lt;/p&gt;&lt;p&gt;Mike&lt;br&gt; &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Thu, 18 Dec 2008 15:55:59 -0000</pubDate></item><item><title>Re: Protected: Panel of Ruby/Rails Professionals, Dec. 17</title><link>http://e168f08.plugh.org/cooler/panel-of-rubyrails-professionals-dec-17/#comment-4312179</link><description>&lt;p&gt;Are there any embedded Ruby/Rails implementations?  &lt;br&gt;What is the smallest Ruby/Rails solution in terms of footprint?&lt;br&gt;Are there any examples of localized (non-networked) support of Ruby/Rails applications using a lightweight version of the framework?&lt;/p&gt;&lt;p&gt;Should new development add-ons be gems?  (there seems to be some concern about plugins across various blog posts)&lt;/p&gt;&lt;p&gt;Has Ruby /Rails been adopted to a greater degree in specific industries?  If so, which ones?&lt;/p&gt;&lt;p&gt;To what extent are folks serializing data objects for the persistification of state?&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Wed, 10 Dec 2008 13:07:56 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-4274877</link><description>&lt;p&gt;After reading your comment and thinking about it some more, maybe the best way to handle this is to write to the DB for each event with a timestamp and then report based upon this information.  Every week a cron job would run and create weekly average.  In that way, the max rows in the table would be 10,800 per user per reporting device.  That's not too bad, as long as they are indexed.  Most of the reporting will pull the most recent record (greatest timestamp) and will not require a lot of overhead (if it is indexed).&lt;/p&gt;&lt;p&gt;Thanks,&lt;br&gt;Mike&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Mon, 08 Dec 2008 17:23:53 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-4274770</link><description>&lt;p&gt;They will want to see minute by minute data for the previous 60 minutes.  Then hourly averages for the previous day.  The daily for the previous 7 days. Then weekly (forever?).&lt;/p&gt;&lt;p&gt;The difficulty is the missing data...  machines go down and so do internet connections.  Therefore, the data will have missing elements, which in some cases will span hours, days or weeks.  So, I need to be able to handle missing observations as well.&lt;/p&gt;&lt;p&gt;I'll take another look at the rollups in MetricsMine.  I may be able to use some or all of it for this purpose.&lt;/p&gt;&lt;p&gt;Thanks,&lt;br&gt;Mike&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Mon, 08 Dec 2008 17:17:18 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-4273789</link><description>&lt;p&gt;Hi there,&lt;/p&gt;&lt;p&gt;I'm thinking about the final project, and as one of the elements, I'm interested in maintaining minute by minute usage data associated with internet enabled equipment.  But I'd like to roll the data up into hours, days, weeks, and years, so that I will not have to maintain hundreds of thousands of rows for each user for each year.&lt;/p&gt;&lt;p&gt;Is there a best practices way of doing this?  I've been thinking about writing it myself using after_save callbacks on a Usage table.  But, it's not all together  trivial due, amongst other things, to some recursion issues I foresee (I foresee, I foresee, I foresee :-).  I'd be very happy to find out someone has already figured this out and has written a gem or plugin...&lt;/p&gt;&lt;p&gt;Thanks,&lt;br&gt;Mike&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Mon, 08 Dec 2008 16:33:52 -0000</pubDate></item><item><title>Re: Screencast - RestfulAuthentication - 1</title><link>http://e168f08.plugh.org/screencasts/screencast-restfulauthentication-1/#comment-4214954</link><description>&lt;p&gt;This is the one that I used:  &lt;a href="http://www.avnetlabs.com/rails/restful-authentication-with-rails-2" rel="nofollow noopener" target="_blank" title="http://www.avnetlabs.com/rails/restful-authentication-with-rails-2"&gt;http://www.avnetlabs.com/ra...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I had looked at a few and they each were dated and broken.&lt;/p&gt;&lt;p&gt;I'm looking forward to seeing the next screencast... hoping you could show how to best use the authentication with RESTful clients.  In my case, I'm looking to implement "basic authentication" from a service running on a PC.  It needs to login and report usage information.  I'm using Net::HTTP::Post, and I have it working, but probably could be improved to be more 'Best Practices' like.&lt;/p&gt;&lt;p&gt;Mike&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Fri, 05 Dec 2008 17:51:12 -0000</pubDate></item><item><title>Re: Screencast - RestfulAuthentication - 1</title><link>http://e168f08.plugh.org/screencasts/screencast-restfulauthentication-1/#comment-4209507</link><description>&lt;p&gt;Very nice!  I had been fooling around with this same plugin for possible use in the final project.  It works really nicely.  Thanks for putting together the screencasts.  It cleared up some lingering questions I had.&lt;/p&gt;&lt;p&gt;Mike&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Fri, 05 Dec 2008 15:34:02 -0000</pubDate></item><item><title>Re: Final Project Proposal, and about the Final Project</title><link>http://e168f08.plugh.org/assignments/final-project-proposal-and-about-the-final-project/#comment-4056996</link><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;The project I am envisioning requires some geometry functions within the DB.  MySQL has this functionality.  Sqlite3 does not.  May I use mySQL?&lt;/p&gt;&lt;p&gt;Specifically, I'm integrating geo-kit functionality for a Google Maps mashup which will provide dynamic user information on a live map.  But I want to include asynchronous search functionality to find map points (stored in the DB) within some defined distance, and this is most easily accomplished via a geo-kit call which leverages functionality in the DB.  While I could write the functionality in Ruby, it will not function as efficiently, and it will be an overly complex rewrite of a function which is available directly on mySQL.&lt;/p&gt;&lt;p&gt;Please let me know.&lt;br&gt;Mike&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Fri, 28 Nov 2008 21:48:08 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-3904539</link><description>&lt;p&gt;Hey John,&lt;/p&gt;&lt;p&gt;This is the kind of thing that would be a lot easier to ask in person.  Something like, "hey,  is this supposed to be there?" With a response like "yup".&lt;/p&gt;&lt;p&gt;When taking a course at a distance, you can't just point and ask a quick question.  You need to spell it all out - in an open forum.  Which appears to make questions much "bigger" than they are.&lt;/p&gt;&lt;p&gt;Thank you for the answer,&lt;br&gt;Mike&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Wed, 19 Nov 2008 19:19:45 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-3901852</link><description>&lt;p&gt;Yes... the Metric kind: personal weight.&lt;/p&gt;&lt;p&gt;It appears, in the static code, outside the title area (bracketed by h1's above it).&lt;/p&gt;&lt;p&gt;And in the online version it does not exist.&lt;/p&gt;&lt;p&gt;Mike&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Wed, 19 Nov 2008 16:36:11 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-3895863</link><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;In the example online, within the show, used to create a new observation, you have the metric kind (which I believe is the &lt;a href="http://observation_kind.name" rel="nofollow noopener" target="_blank" title="observation_kind.name"&gt;observation_kind.name&lt;/a&gt;) displayed within the title area.&lt;/p&gt;&lt;p&gt;But in the static HTML distributed, you have this information appearing outside of the title.&lt;/p&gt;&lt;p&gt;I'm guessing you meant to have it in the title.  But I want to make sure this is not a distinction you made intentionally.&lt;/p&gt;&lt;p&gt;Thanks,&lt;br&gt;Mike&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Wed, 19 Nov 2008 11:24:26 -0000</pubDate></item><item><title>Re: Assignment 3, Milestone III</title><link>http://e168f08.plugh.org/assignments/assignment-3-milestone-iii/#comment-3884276</link><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;My error was being caused by a data mismatch in the tables.  I had gotten things a tad out of sync while developing...  So, there had been no matching rec in the units table to be found from observation_sets.  Hence, it was causing a nil error.  That part is working now.&lt;/p&gt;&lt;p&gt;I'm a bit confused still on the association name... I see that I can use the name to access the data in the remote table.  But, I do not see what code is being executed to get there.  I had expected to find some generated code (somewhere) based upon the "belongs_to" in the model.  But there wasn't any (that I could find)...  I could see the preferred_unit as a method from observation_sets... Where is this method defined?&lt;/p&gt;&lt;p&gt;Mike&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Tue, 18 Nov 2008 16:08:33 -0000</pubDate></item><item><title>Re: Assignment 3, Milestone III</title><link>http://e168f08.plugh.org/assignments/assignment-3-milestone-iii/#comment-3882532</link><description>&lt;p&gt;John,&lt;/p&gt;&lt;p&gt;Thank you.&lt;/p&gt;&lt;p&gt;But shouldn't there be a preferred_unit column in the observation_sets table?  (There isn't one).&lt;/p&gt;&lt;p&gt;That is,&lt;br&gt;"(1) When an observation set is created, set the preferred unit to the first unit available for the measurement of the observation kind from which the observation set is being created."&lt;/p&gt;&lt;p&gt;I'm definitely doing this...  and I am saving the record....  then I'm redirecting to the index page...  and it starts to create the page, but dies because it can not find &lt;a href="http://form.preferred_unit.name" rel="nofollow noopener" target="_blank" title="form.preferred_unit.name"&gt;form.preferred_unit.name&lt;/a&gt;...&lt;/p&gt;&lt;p&gt;So it goes...&lt;/p&gt;&lt;p&gt;Mike &lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Tue, 18 Nov 2008 15:02:11 -0000</pubDate></item><item><title>Re: Assignment 3, Milestone III</title><link>http://e168f08.plugh.org/assignments/assignment-3-milestone-iii/#comment-3880802</link><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have a question about the preferred_unit...  I'm not sure of the purpose for it... the data model calls for unit_id.  The migrations use it in establishing the relationship between observation_sets and units.  But where is it supposed to be stored?  How is it accessed?  And for what purpose?&lt;/p&gt;&lt;p&gt;Mike&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Tue, 18 Nov 2008 13:30:02 -0000</pubDate></item><item><title>Re: Assignment 3, Milestone III</title><link>http://e168f08.plugh.org/assignments/assignment-3-milestone-iii/#comment-3871318</link><description>&lt;p&gt;:-)... learning a lot...  That's what I'm here for.  There are many ways to do things in Rails, and the syntax allows for a ton of variations... There are a ton of conventions as well, and reading about them is like reading the encyclopedia...  Practice is the best way I know of to learn it.   I keep working on it every day.  It's clicking but not as quickly as I am used to...&lt;/p&gt;&lt;p&gt;Mike&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Mon, 17 Nov 2008 22:00:50 -0000</pubDate></item><item><title>Re: Assignment 3, Milestone III</title><link>http://e168f08.plugh.org/assignments/assignment-3-milestone-iii/#comment-3869190</link><description>&lt;p&gt;Right... I should have said that at times Rails has a very confusing syntax and does not necessarily provide any error or warning when a method is invoked with a potentially incorrect set of parameters.  And further that simple mistakes are compounded by the lack of feedback provided by the framework.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Mon, 17 Nov 2008 19:00:07 -0000</pubDate></item><item><title>Re: Assignment 3, Milestone III</title><link>http://e168f08.plugh.org/assignments/assignment-3-milestone-iii/#comment-3864445</link><description>&lt;p&gt;John,&lt;/p&gt;&lt;p&gt;I should have said... It's absolutely correct in LinkWizz.  It's my user error that caused the issue.  I simply did not add the curly braces.  When I typed the line it, I missed them.  I should have cut and pasted....  Anyway, hopefully this might help someone else.&lt;/p&gt;&lt;p&gt;Mike&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Mon, 17 Nov 2008 13:29:40 -0000</pubDate></item><item><title>Re: Assignment 3, Milestone III</title><link>http://e168f08.plugh.org/assignments/assignment-3-milestone-iii/#comment-3863402</link><description>&lt;p&gt;I see the issue...&lt;/p&gt;&lt;p&gt;Rails is really finicky about braces&lt;/p&gt;&lt;p&gt;&amp;lt;%= link_to '(destroy)',:controller =&amp;gt; :observation_kinds, :action =&amp;gt; :destroy, :id =&amp;gt; &lt;a href="http://observationKind.id" rel="nofollow noopener" target="_blank" title="observationKind.id"&gt;observationKind.id&lt;/a&gt;, :method =&amp;gt; :post %&amp;gt;&lt;/p&gt;&lt;p&gt;is different, in terms of output, from:&lt;/p&gt;&lt;p&gt;&amp;lt;%= link_to '(destroy)',{:controller =&amp;gt; :observation_kinds, :action =&amp;gt; :destroy, :id =&amp;gt; &lt;a href="http://observationKind.id" rel="nofollow noopener" target="_blank" title="observationKind.id"&gt;observationKind.id&lt;/a&gt;}, :method =&amp;gt; :post %&amp;gt;&lt;/p&gt;&lt;p&gt;Notice the curly braces in the second one... this is what generates the javascript output.&lt;/p&gt;&lt;p&gt;Mike&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Mon, 17 Nov 2008 13:05:36 -0000</pubDate></item><item><title>Re: Assignment 3, Milestone III</title><link>http://e168f08.plugh.org/assignments/assignment-3-milestone-iii/#comment-3862760</link><description>&lt;p&gt;Thanks.&lt;/p&gt;&lt;p&gt;I'm looking at the html generated by the reference app online. (&lt;a href="http://metricsmine.plugh.org/observation_kinds)" rel="nofollow noopener" target="_blank" title="http://metricsmine.plugh.org/observation_kinds)"&gt;http://metricsmine.plugh.or...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;For delete, you are generating the following javascript:&lt;/p&gt;&lt;p&gt;&lt;a href="/observation_kinds/destroy/7" rel="nofollow noopener" target="_blank" title="/observation_kinds/destroy/7"&gt;(delete)&lt;/a&gt;&lt;/p&gt;&lt;p&gt;In the examples we've studied thus far, (CCC, LinkWizz, etc...) I think the output looks different.  When I use those formats, like so:&lt;/p&gt;&lt;p&gt;&amp;lt;%= link_to '(destroy)',:controller =&amp;gt; :observation_kinds, :action =&amp;gt; :destroy, :id =&amp;gt; &lt;a href="http://observationKind.id" rel="nofollow noopener" target="_blank" title="observationKind.id"&gt;observationKind.id&lt;/a&gt;, :method =&amp;gt; :post %&amp;gt;&lt;/p&gt;&lt;p&gt;I get the following:&lt;/p&gt;&lt;p&gt; a href="/observation_kinds/destroy/2?method=post"&amp;gt;(destroy)&lt;/p&gt;&lt;p&gt;I guess my question is, should I be worried about the creation of the javascript snippet you have online?  If so, can you point to a way to auto-create this from some Rails macro?&lt;/p&gt;&lt;p&gt;Thanks,&lt;br&gt;Mike C&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">philadelphia</dc:creator><pubDate>Mon, 17 Nov 2008 12:22:55 -0000</pubDate></item></channel></rss>