<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>e168f08 - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-ea90e42e" type="application/json"/><link>http://e168f08.disqus.com/</link><description></description><language>en</language><lastBuildDate>Mon, 11 May 2009 04:17:26 -0000</lastBuildDate><item><title>Re: Screencast demoing &amp;#8220;restful authentication&amp;#8221;</title><link>http://e168f08.plugh.org/announcements/screencast-demoing-restful-authentication/#comment-9198819</link><description>Thank you very much for this information. I was looking for this from last few days. thanks for share.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tani001</dc:creator><pubDate>Mon, 11 May 2009 04:17:26 -0000</pubDate></item><item><title>Re: Final Project: Tips for the Writeup and Features</title><link>http://e168f08.plugh.org/assignments/final-project-tips-for-the-writeup-and-features/#comment-6702669</link><description>Hi,&lt;br&gt;I know the course is long over, and no-one may read this.&lt;br&gt;&lt;br&gt;Is there anyway to compile my ruby code into some sort of Bytecode that can't be read / modified / stolen? Like a Java .class file. &lt;br&gt;&lt;br&gt;I'm getting a web designer to spice up my final project site (&lt;a href="http://www.movie-cat.tv" rel="nofollow"&gt;www.movie-cat.tv&lt;/a&gt;) and want to protect my code. I know how I could do this with the filesystem protections on Linux on my web server, but don't necessarily want him working on my live server.&lt;br&gt;Thanks,&lt;br&gt;Raj</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rqbanerjee</dc:creator><pubDate>Fri, 27 Feb 2009 11:24:46 -0000</pubDate></item><item><title>Re: Assignment 3, Milestone III</title><link>http://e168f08.plugh.org/assignments/assignment-3-milestone-iii/#comment-6250106</link><description>Did anyone implement the compare function for the extra credit?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">vaughanatworld</dc:creator><pubDate>Fri, 13 Feb 2009 18:13:02 -0000</pubDate></item><item><title>Re: in the spirit of _why the lucky stiff: Amy&amp;#8217;s lecture notes</title><link>http://e168f08.plugh.org/amys-interpretive-drawing-lecture-notes/in-the-spirit-of-_why-the-lucky-stiff-amys-lecture-notes/#comment-5745090</link><description>Nice post. Have bookmarked your blog and will be sure to come back soon!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Baby Alive Dolls</dc:creator><pubDate>Sun, 01 Feb 2009 09:09:01 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-5582171</link><description>This sounds like a plan.&lt;br&gt;&lt;br&gt;Having been laid off mid last week, a new adventure begins. I want to use this time to retool.&lt;br&gt;&lt;br&gt;The calculus I am trying to solve is how long it will take for me to become employable in RoR. It seems to me,  6 to 18 months.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">vaughanatworld</dc:creator><pubDate>Tue, 27 Jan 2009 11:50:59 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-5577817</link><description>Yes, by all means. Why don't you ask some questions right here.&lt;br&gt;&lt;br&gt;Here are some brief notes on getting a Rails job:&lt;br&gt;&lt;br&gt;0. The course is good for looking for a job, but it would be a component in a whole package involving who you know, what you know, and how you grow as a developer.&lt;br&gt;&lt;br&gt;1. Who: You really should start networking by going to meetings of the Boston Ruby Group (&lt;a href="http://bostonrb.org/" rel="nofollow"&gt;http://bostonrb.org/&lt;/a&gt;). For women, e-mail Amy about her new group for Women and Ruby and Boston.&lt;br&gt;&lt;br&gt;2. What: I would advise everyone to start downloading and reading code. There are countless awesome Ruby/Rails packages you can find at RubyForge and/or Github. What you want to find are full apps. Then go over the code. Also, you may well find projects that need documentation or light fixes. You would be amazed at how many sophisticated projects have open tickets that are essentially one-line fixes. To learn how to contribute patches and fixes, Google for a screencast on using Github.&lt;br&gt;&lt;br&gt;3. Growing: You need to think of your developer status as a work in progress. Make a list of things to learn. E.g., if you've never configured a Linux system, learn by doing it. If you've never used source control (e.g., subversion), set it up. If you've never used a bug tracker, set it up. All of these tools can be useful for your personal use.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xertroyt</dc:creator><pubDate>Tue, 27 Jan 2009 11:06:41 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-5577221</link><description>John, can we talk about employment with RoR?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">vaughanatworld</dc:creator><pubDate>Tue, 27 Jan 2009 10:59:19 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-5453096</link><description>Off-topic, did anyone else rsvp to that 4-week rails class at sermo that John forwarded a few days ago?  I haven't heard anything back and was wondering if anyone knows if it's actually happening.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ana</dc:creator><pubDate>Wed, 21 Jan 2009 21:14:56 -0000</pubDate></item><item><title>Re: Final Project: Tips for the Writeup and Features</title><link>http://e168f08.plugh.org/assignments/final-project-tips-for-the-writeup-and-features/#comment-5451808</link><description>About the writeup -- this very page is the extra info on the writeup.&lt;br&gt;&lt;br&gt;Length: You have to explain how your app is designed, how it works, and how it needs to be maintained. Imagine a document that would describe such things for an app of similar complexity not written by you. It strikes me that it is hard to imagine that it would be fewer than 4 pages, but everyone writes with different degrees of concentration and pithyness.&lt;br&gt;&lt;br&gt;Your TA is not going to be able to grade two projects. You are going to have to submit one ZIP that represents what you want to have graded.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xertroyt</dc:creator><pubDate>Wed, 21 Jan 2009 20:01:42 -0000</pubDate></item><item><title>Re: Final Project: Tips for the Writeup and Features</title><link>http://e168f08.plugh.org/assignments/final-project-tips-for-the-writeup-and-features/#comment-5449660</link><description>In the final project description there is a hint at more information on the write up. Is this available somewhere? If not is it OK to ask how long this write up should be? Another question - I have reached a certain working point in my application . If I proceed to implement another feature, I'll break the functionality. If I have not finished by the end of the day, may I submit 2 ZIP files, 1 working - 1 work-in-progress ? I wish there was a single posting forum - I just discovered this thread today.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 21 Jan 2009 18:38:01 -0000</pubDate></item><item><title>Re: Syllabus</title><link>http://e168f08.plugh.org/syllabus/#comment-5447561</link><description>Are there still student project demos planned?  I'd love to see what other people are doing.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">katemuse</dc:creator><pubDate>Wed, 21 Jan 2009 16:59:39 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-5442140</link><description>Strange.&lt;br&gt;&lt;br&gt;The e168:submit task uses the standard rake package target, so it should be grabbing the Rakefile normally.&lt;br&gt;&lt;br&gt;I just verified the e168:submit task, but I'm on a Mac.&lt;br&gt;&lt;br&gt;Just ZIP up your project with any tool -- or, if you like, use the e168:submit task and zip up the Rakefile separately.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xertroyt</dc:creator><pubDate>Wed, 21 Jan 2009 15:41:58 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-5442150</link><description>Nothing is really coming to mind -- sorry!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xertroyt</dc:creator><pubDate>Wed, 21 Jan 2009 15:41:50 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-5441840</link><description>Rakefile not getting packaged?&lt;br&gt;Hi, I am trying to rake package to submit but for some reason the rakefile isn't getting packaged up.  It seems to be the only file that's missing.  The weird thing is, it's in the package directory but it's not in the .zip.  (I'm using the zip_in_ruby script that came with metricsmine)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ana</dc:creator><pubDate>Wed, 21 Jan 2009 15:27:28 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-5437512</link><description>last minute cleaning-&lt;br&gt;I was making the code clean now few things don't work and I do not know why.&lt;br&gt;&lt;br&gt;My logout does not logout anymore - &lt;br&gt;Console shows that email is genereated and sent, but i never get in my inbox.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sa</dc:creator><pubDate>Wed, 21 Jan 2009 13:32:20 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-5273925</link><description>Pat,&lt;br&gt;&lt;br&gt;I just sent an e-mail out on that topic. I covered some of the expectations here: &lt;a href="http://e168f08.plugh.org/assignments/final-project-tips-for-the-writeup-and-features/" rel="nofollow"&gt;http://e168f08.plugh.org/assignments/final-proj...&lt;/a&gt;&lt;br&gt;&lt;br&gt;As far as length, "what it should look like," etc.: The key is to think about the audience. The audience is a developer like yourself who must understand (1) What the app is supposed to do; and (2) how it is implemented. If you are like me, this is a high standard -- I personally need very clear and complete documentation to understand someone else's work.&lt;br&gt;&lt;br&gt;John</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xertroyt</dc:creator><pubDate>Sun, 18 Jan 2009 21:15:37 -0000</pubDate></item><item><title>Re: Cooler</title><link>http://e168f08.plugh.org/cooler/#comment-5273767</link><description>Would it be possible to get some more information about what the write up for the final project should contain, or maybe an example of what the write up should look like?  I've got my project just about done, but I'm lost on the write up.&lt;br&gt;&lt;br&gt;Thanks</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pat</dc:creator><pubDate>Sun, 18 Jan 2009 21:00:08 -0000</pubDate></item><item><title>Re: Final Project: Tips for the Writeup and Features</title><link>http://e168f08.plugh.org/assignments/final-project-tips-for-the-writeup-and-features/#comment-5255281</link><description>Thanks John.. I  always do the same mistake.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">na</dc:creator><pubDate>Sat, 17 Jan 2009 23:49:15 -0000</pubDate></item><item><title>Re: Screencasts</title><link>http://e168f08.plugh.org/screencasts/#comment-5255189</link><description>I am going to just try to remember not to do a total reverse migration to "version=0". I have the User table "create" and "data add" migrations as the first two in the stack. I renumbered the "data add" one to something that is easy to remember "0110_data_add_users.rb". So now I'll just migrated down to "version=0200", or the one just after it. That way those records won't get expunged.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">swithin</dc:creator><pubDate>Sat, 17 Jan 2009 23:41:49 -0000</pubDate></item><item><title>Re: Final Project: Tips for the Writeup and Features</title><link>http://e168f08.plugh.org/assignments/final-project-tips-for-the-writeup-and-features/#comment-5252734</link><description>As I showed in every single app creation demo, you must delete public/index.html (or rename it). Otherwise, this static file will be picked ahead of your controllers, etc.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xertroyt</dc:creator><pubDate>Sat, 17 Jan 2009 20:38:20 -0000</pubDate></item><item><title>Re: Final Project: Tips for the Writeup and Features</title><link>http://e168f08.plugh.org/assignments/final-project-tips-for-the-writeup-and-features/#comment-5252558</link><description>Hi,&lt;br&gt;&lt;br&gt;In my app when i type  &lt;a href="http://localhost:3000/" rel="nofollow"&gt;http://localhost:3000/&lt;/a&gt; and I get "Welcome aboard: You're riding the Rails!" I have the following line in routes.rb file in config directory. It is the first line.&lt;br&gt;&lt;br&gt;map.connect '', :controller =&amp;gt; 'welcome', :action =&amp;gt; 'welcome'&lt;br&gt;&lt;br&gt;If i type &lt;a href="http://localhost:3000/welcome/welcome" rel="nofollow"&gt;http://localhost:3000/welcome/welcome&lt;/a&gt;, everything works fine. It displays the main page. What is going on. I am confused.&lt;br&gt;&lt;br&gt;Thanks</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">na</dc:creator><pubDate>Sat, 17 Jan 2009 20:23:59 -0000</pubDate></item><item><title>Re: Assignments</title><link>http://e168f08.plugh.org/assignments/#comment-5251944</link><description>User.find( :first, :conditions = [ 'email = ?', email ])&lt;br&gt;&lt;br&gt;or&lt;br&gt;&lt;br&gt;User.find( :first, :conditions = { :email =&amp;gt; email } )&lt;br&gt;&lt;br&gt;In both cases, the last "email" in the state is a variable for the e-mail address you want.&lt;br&gt;&lt;br&gt;For both of these constructs: Review AWDR!! The first is about using parameters for a SQL query. The 2nd is about using a Hash for the conditions. I like the latter for simple finds.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xertroyt</dc:creator><pubDate>Sat, 17 Jan 2009 19:29:54 -0000</pubDate></item><item><title>Re: Screencasts</title><link>http://e168f08.plugh.org/screencasts/#comment-5251964</link><description>I don't know how to do this -- omit the callbacks but only during a migration. You could inspect the schema and write raw SQL for the migration to copy the data properly.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xertroyt</dc:creator><pubDate>Sat, 17 Jan 2009 19:29:07 -0000</pubDate></item><item><title>Re: Screencasts</title><link>http://e168f08.plugh.org/screencasts/#comment-5251717</link><description>I got restful authentication working and merged with my application. THANKS for the Screen Cast, Yah!&lt;br&gt;&lt;br&gt;I notice when I migrate down, and then back up that my User record (that Restful Auth uses for my login) does not get repopulated in the User table, even though I have a "..._data_add_users.rb" file like my other data migrations. There some trigger or something that does the following message:&lt;br&gt;&lt;br&gt;Migrating to DataAddUsers (110)&lt;br&gt;  ←[4;35;1mUser Load (0.000000)←[0m   ←[0mSELECT * FROM "users" ←[0m&lt;br&gt;WARNING: Can't mass-assign these protected attributes: salt, updated_at, activat&lt;br&gt;ed_at, crypted_password, deleted_at, remember_token_expires_at, activation_code,&lt;br&gt; id, remember_token, state, created_at&lt;br&gt;  ←[4;36;1mSQL (0.000000)←[0m   ←[0;1mSELECT "login" FROM "users" WHERE ("users"&lt;br&gt;.login = 'swithin') ←[0m&lt;br&gt;  ←[4;35;1mSQL (0.000000)←[0m   ←[0mSELECT "email" FROM "users" WHERE ("users".e&lt;br&gt;mail = 'josh@swithin.com') ←[0m&lt;br&gt;  ←[4;36;1mSQL (0.141000)←[0m   ←[0;1mINSERT INTO schema_migrations (version) VA&lt;br&gt;LUES ('110')←[0m&lt;br&gt;  ←[4;35;1mSQL (0.000000)←[0m   ←[0m SELECT name&lt;br&gt; FROM sqlite_master&lt;br&gt; WHERE type = 'table' AND NOT name = 'sqlite_sequence'&lt;br&gt;←[0m&lt;br&gt;  ←[4;36;1mSQL (0.000000)←[0m   ←[0;1mSELECT version FROM schema_migrations←[0m&lt;br&gt;  ←[4;35;1mSQL (0.000000)←[0m   ←[0m SELECT name&lt;br&gt; FROM sqlite_master&lt;br&gt; WHERE type = 'table' AND NOT name = 'sqlite_sequence'&lt;br&gt;←[0m&lt;br&gt;  ←[4;36;1mSQL (0.000000)←[0m   ←[0;1mPRAGMA index_list("users")←[0m&lt;br&gt;  ←[4;35;1mSQL (0.000000)←[0m   ←[0mPRAGMA index_info('index_users_on_login')←[0&lt;br&gt;m&lt;br&gt;&lt;br&gt;It takes time to re-authenticate with waiting for the round-trip email verification. &lt;br&gt;Can I turn the "trigger" off so that the data record gets remigrated?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">swithin</dc:creator><pubDate>Sat, 17 Jan 2009 19:10:22 -0000</pubDate></item><item><title>Re: Assignments</title><link>http://e168f08.plugh.org/assignments/#comment-5250347</link><description>that does work in my console window, but it does not return anything in the controller.&lt;br&gt;e.g. if i say email=params[:user][:email], and then used it like this: User.find(:first, :conditions =&amp;gt; "email = email"), it does not return anything. The only way it works if I hardcode that email in the query.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sa</dc:creator><pubDate>Sat, 17 Jan 2009 17:32:50 -0000</pubDate></item></channel></rss>