<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>e168f08 - Latest Comments in Screencasts</title><link>http://e168f08.disqus.com/</link><description></description><language>en</language><lastBuildDate>Sat, 17 Jan 2009 23:41:49 -0000</lastBuildDate><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: 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: Screencasts</title><link>http://e168f08.plugh.org/screencasts/#comment-4817056</link><description>The flash messages are not showing up on either the standard or pages I've created.  I have verified that the following is included in my code:&lt;br&gt;&lt;br&gt;&amp;lt;% if flash[:notice] %&amp;gt;&lt;br&gt;&amp;lt;div id="notice"&amp;gt;&amp;lt;%= flash[:notice] %&amp;gt;&amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;% end %&amp;gt;&lt;br&gt;&lt;br&gt;[edit]&lt;br&gt;&lt;br&gt;which is pointless if your div doesn't match and if you also haven't put in code for flash[:error]!  NEVERMIND!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xtine78</dc:creator><pubDate>Thu, 01 Jan 2009 16:48:31 -0000</pubDate></item><item><title>Re: Screencasts</title><link>http://e168f08.plugh.org/screencasts/#comment-4813990</link><description>Such as?&lt;br&gt;&lt;br&gt;-- which message?&lt;br&gt;-- Are you trying to display it on a page you created, or one of the standard ones?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xertroyt</dc:creator><pubDate>Thu, 01 Jan 2009 10:38:46 -0000</pubDate></item><item><title>Re: Screencasts</title><link>http://e168f08.plugh.org/screencasts/#comment-4810634</link><description>Has anyone else had any problems with the flash messages using the restful authentication plugin?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xtine78</dc:creator><pubDate>Wed, 31 Dec 2008 23:14:33 -0000</pubDate></item><item><title>Re: Screencasts</title><link>http://e168f08.plugh.org/screencasts/#comment-4526506</link><description>Im interested in seeing how an app gets deployed into JEE  container, i think it'll be more practical for me to see this mesh in with JEE :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lisandro</dc:creator><pubDate>Fri, 19 Dec 2008 13:54:49 -0000</pubDate></item><item><title>Re: Screencasts</title><link>http://e168f08.plugh.org/screencasts/#comment-4393606</link><description>JRuby performs as well or better that the "sandard" Ruby interpreter.&lt;br&gt;&lt;br&gt;The big advantage of JRuby for web apps is that the JavaEE container can have multiple "Rails" applications running in the same container.&lt;br&gt;&lt;br&gt;Until recently, in the conventional Rails world, one would literally run multiple copies of Rails on the same physical server.&lt;br&gt;&lt;br&gt;This blog posting goes over some of the options.&lt;br&gt;&lt;br&gt;&lt;a href="http://weblogs.java.net/blog/arungupta/archive/2007/08/rubyjruby_proce.html" rel="nofollow"&gt;http://weblogs.java.net/blog/arungupta/archive/...&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xertroyt</dc:creator><pubDate>Sat, 13 Dec 2008 22:08:22 -0000</pubDate></item><item><title>Re: Screencasts</title><link>http://e168f08.plugh.org/screencasts/#comment-4392663</link><description>Yes I would like to see Rails application getting deployed into JavaEE&lt;br&gt;&lt;br&gt;Are there other reasons for JRuby, such as performance reason ?&lt;br&gt;&lt;br&gt;Thanks</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">student1</dc:creator><pubDate>Sat, 13 Dec 2008 20:13:50 -0000</pubDate></item><item><title>Re: Screencasts</title><link>http://e168f08.plugh.org/screencasts/#comment-4365243</link><description>I will leave the screencasts up unless my bandwidth bill increases!&lt;br&gt;&lt;br&gt;JRuby is a good idea. I'll think about it. I think what everyone would like to see is a Rails application getting deployed into a JavaEE container.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xertroyt</dc:creator><pubDate>Fri, 12 Dec 2008 07:59:57 -0000</pubDate></item><item><title>Re: Screencasts</title><link>http://e168f08.plugh.org/screencasts/#comment-4348395</link><description>Could you show us JRuby ?&lt;br&gt;&lt;br&gt;When the class is over, could we still access these screen casts ?&lt;br&gt;&lt;br&gt;Thanks</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">student1</dc:creator><pubDate>Thu, 11 Dec 2008 23:02:43 -0000</pubDate></item></channel></rss>