<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>app/controllers/flex_controller.rb</filename>
    </added>
    <added>
      <filename>app/views/flex/index.html.erb</filename>
    </added>
    <added>
      <filename>config/initializers/restfulx.rb</filename>
    </added>
    <added>
      <filename>lib/restfulx-1.2.2.swc</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,15 +1,15 @@
 &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
 &lt;actionScriptProperties mainApplicationPath=&quot;Pomodo.mxml&quot; version=&quot;3&quot;&gt;
 &lt;compiler additionalCompilerArguments=&quot;-locale en_US -keep-as3-metadata+=Resource,HasOne,HasMany,BelongsTo,DateTime,Lazy,Ignored&quot; copyDependentFiles=&quot;true&quot; enableModuleDebug=&quot;true&quot; generateAccessible=&quot;false&quot; htmlExpressInstall=&quot;true&quot; htmlGenerate=&quot;true&quot; htmlHistoryManagement=&quot;true&quot; htmlPlayerVersion=&quot;9.0.28&quot; htmlPlayerVersionCheck=&quot;true&quot; outputFolderPath=&quot;public/bin&quot; rootURL=&quot;http://localhost:3000/bin&quot; sourceFolderPath=&quot;app/flex&quot; strict=&quot;true&quot; useApolloConfig=&quot;false&quot; verifyDigests=&quot;true&quot; warn=&quot;true&quot;&gt;
-&lt;compilerSourcePath/&gt;
-&lt;libraryPath defaultLinkType=&quot;1&quot;&gt;
-&lt;libraryPathEntry kind=&quot;4&quot; path=&quot;&quot;/&gt;
-&lt;libraryPathEntry kind=&quot;1&quot; linkType=&quot;1&quot; path=&quot;lib&quot;/&gt;
-&lt;/libraryPath&gt;
-&lt;sourceAttachmentPath/&gt;
+  &lt;compilerSourcePath/&gt;
+  &lt;libraryPath defaultLinkType=&quot;1&quot;&gt;
+    &lt;libraryPathEntry kind=&quot;4&quot; path=&quot;&quot;/&gt;
+    &lt;libraryPathEntry kind=&quot;1&quot; linkType=&quot;1&quot; path=&quot;lib&quot;/&gt;
+  &lt;/libraryPath&gt;
+  &lt;sourceAttachmentPath/&gt;
 &lt;/compiler&gt;
 &lt;applications&gt;
-&lt;application path=&quot;Pomodo.mxml&quot;/&gt;
+  &lt;application path=&quot;Pomodo.mxml&quot;/&gt;
 &lt;/applications&gt;
 &lt;modules/&gt;
 &lt;buildCSSFiles/&gt;</diff>
      <filename>.actionScriptProperties</filename>
    </modified>
    <modified>
      <diff>@@ -1,10 +1,11 @@
 package pomodo.controllers {
+  import pomodo.models.*;
+  import pomodo.commands.*;
+
+  import mx.core.Application;		
   import org.restfulx.Rx;
   import org.restfulx.controllers.RxApplicationController;
   import org.restfulx.utils.RxUtils;
-  
-  import pomodo.commands.*;
-  import pomodo.models.*;
 
   public class ApplicationController extends RxApplicationController {
     private static var controller:ApplicationController;
@@ -13,8 +14,8 @@ package pomodo.controllers {
     
     public static var commands:Array = []; /* Commands */
     
-    public function ApplicationController(enforcer:SingletonEnforcer, extraServices:Array,
-      defaultServiceId:int = -1) {
+    public function ApplicationController(enforcer:SingletonEnforcer, 
+      extraServices:Array, defaultServiceId:int = -1) {
       super(commands, models, extraServices, defaultServiceId);
     }
     
@@ -23,11 +24,13 @@ package pomodo.controllers {
       return controller;
     }
     
-    public static function initialize(extraServices:Array = null, defaultServiceId:int = -1,
-      airDatabaseName:String = null):void {
+    public static function initialize(extraServices:Array = null, 
+      defaultServiceId:int = -1, airDatabaseName:String = null):void {
       if (!RxUtils.isEmpty(airDatabaseName)) Rx.airDatabaseName = airDatabaseName;
-      controller = new ApplicationController(new SingletonEnforcer, extraServices,
-        defaultServiceId);
+      controller = new ApplicationController(new SingletonEnforcer, 
+        extraServices, defaultServiceId);
+      Rx.sessionToken = Application.application.parameters.session_token;
+      Rx.authenticityToken = Application.application.parameters.authenticity_token;
     }
   }
 }</diff>
      <filename>app/flex/pomodo/controllers/ApplicationController.as</filename>
    </modified>
    <modified>
      <diff>@@ -25,7 +25,7 @@ Rails::Initializer.run do |config|
   # config.gem &quot;bj&quot;
   # config.gem &quot;hpricot&quot;, :version =&gt; '0.6', :source =&gt; &quot;http://code.whytheluckystiff.net&quot;
   # config.gem &quot;aws-s3&quot;, :lib =&gt; &quot;aws/s3&quot;
-  config.gem &quot;restfulx&quot;, :version =&gt; &quot;1.2.1&quot;
+  config.gem &quot;restfulx&quot;, :version =&gt; &quot;1.2.2&quot;
   config.gem &quot;rubyist-aasm&quot;, :source =&gt; &quot;http://gems.github.com&quot;, :lib =&gt; &quot;aasm&quot;
 
   # Only load the plugins named here, in the order given. By default, all plugins </diff>
      <filename>config/environment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,14 +1,65 @@
 # RestfulX code generation configuration options
 
+# This option controls what the main Flex application file will be called.
+# By default it will be equal to the name of your rails project camelized
+project-name: pomodo
+
+# This options determines what the root folder for generated Flex code is.
+# By default 'app/flex'
+flex-root: app/flex
+
 # By default flex models, commands, controllers and components are genearated into
-# app/flex/&lt;your rails project name&gt; folder. If you'd like to customize the target folder 
+# &lt;flex-root&gt;/&lt;your rails project name&gt; folder. If you'd like to customize the target folder 
 # (to say append a &quot;com&quot; package before your rails project name) uncomment the line below
 # base-package must follow the usual flex package notation (a string separated by &quot;.&quot;)
-
 base-package: pomodo
 
 # Main RestfulX controller is typically named AppicationController. This controller is created in 
 # &lt;base-package&gt;.controllers folder. You can customize the name by uncommenting the following line 
 # and changing the controller name.
+controller-name: ApplicationController
+
+# If you are using Rails on the back-end and Adobe AIR as the client you can generate Rails/Flex/AIR
+# code to take advantage of synchronization (online/offline) support in RestfulX by changing the following
+# option to true. By default distribution is disabled.
+distributed: 
+
+# These options control code-generation options for view components, Flex and Rails models and so on.
+# Allowing you to choose what controller patterns, layouts, attachment plugin you want to use, etc.
+defaults: &amp;defaults
+  attachment_plugin:  'paperclip'              # =&gt; paperclip/attachment_fu
+  controller_pattern: 'default'                # =&gt; default/resource_controller
+  layouts:
+    default:  'default'                        # =&gt; default (more coming soon)
+  ignored:                                     # =&gt; ignored tables/fields won't appear in model.yml
+    tables: [table1 table2]
+    fields: [field1 field2]
+    
+# set up specific options for development environment
+development:
+  &lt;&lt;: *defaults
+
+# set up specific options for test environment
+test:
+  &lt;&lt;: *defaults
 
-#controller-name: ApplicationController
+# set up specific options for production environment
+production:
+  &lt;&lt;: *defaults
+  
+# The following special model.yml fields are supported.
+#
+# For example:
+# attachment_field: [avatar]
+#   * arg takes Paperclip field name, or takes [uploaded_data] for Attachment_Fu
+# belongs_to: [account, profile]
+# has_many: [announcements, files, folders, users]
+# has_many_through: [permissions, roles]
+#   * has_many :roles, :through =&gt; :permissions
+# has_one:  [suitcase]
+# polymorphic: [commentable]
+# tree_model: [parent]
+# layout: [default]
+#   * default template is the only current theme, with more coming soon
+# ignored_fields: [children_count, ancestors_count, descendants_count, position]
+#   * specify fields you don't want generated for your template
\ No newline at end of file</diff>
      <filename>config/restfulx.yml</filename>
    </modified>
    <modified>
      <diff>@@ -1,16 +1,15 @@
 ActionController::Routing::Routes.draw do |map|
-
   map.connect '/stats/summary', :controller =&gt; 'stats', :action =&gt; 'summary'
-
-  map.logout '/logout', :controller =&gt; 'sessions', :action =&gt; 'destroy'
+  
+  map.logout '/logout', :controller =&gt; 'sessions', :action =&gt; 'destroy' 
   
   map.login '/login', :controller =&gt; 'sessions', :action =&gt; 'new'
   
   map.register '/register', :controller =&gt; 'accounts', :action =&gt; 'create'
-  
-  map.signup '/signup', :controller =&gt; 'accounts', :action =&gt; 'new'
 
-  map.activate '/activate/:activation_code', :controller =&gt; 'accounts', :action =&gt; 'activate', :activation_code =&gt; nil 
+  map.signup '/signup', :controller =&gt; 'accounts', :action =&gt; 'new'
+  
+  map.activate '/activate/:activation_code', :controller =&gt; 'accounts', :action =&gt; 'activate', :activation_code =&gt; nil
   
   map.resources :accounts, :member =&gt; { :suspend   =&gt; :put,
                                         :unsuspend =&gt; :put,
@@ -19,21 +18,24 @@ ActionController::Routing::Routes.draw do |map|
   map.resources :assignments
 
   map.resource :session
-
+  
   map.resources :workunits
-
+  
   map.resources :addresses
-
+  
   map.resources :sprints
-
+  
   map.resources :tasks
-
+  
   map.resources :projects
-
+  
   map.resources :project_categories
 
   map.resources :users
-
+  
+  # Map application root to default RestfulX controller
+  map.root :controller =&gt; 'flex'
+  
   # The priority is based upon order of creation: first created -&gt; highest priority.
 
   # Sample of regular route:
@@ -71,6 +73,8 @@ ActionController::Routing::Routes.draw do |map|
   # See how all your routes lay out with &quot;rake routes&quot;
 
   # Install the default routes as the lowest priority.
+  # Note: These default routes make all actions in every controller accessible via GET requests. You should
+  # consider removing the them or commenting them out if you're using named routes and resources.
   map.connect ':controller/:action/:id'
   map.connect ':controller/:action/:id.:format'
 end</diff>
      <filename>config/routes.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,4 +3,7 @@ begin
   # this will load the latest restfulx gem version
   require 'restfulx/active_record_tasks'
 rescue LoadError
+  puts &quot;Could not load active_record_tasks from 'restfulx/active_record_tasks'. &quot; &lt;&lt;
+    &quot;If you are loading restfulx gem from vendor/gems, adjust the path to active_record_tasks in &quot; &lt;&lt;
+    &quot;lib/tasks/restfulx_tasks.rake accordingly.&quot;
 end</diff>
      <filename>lib/tasks/restfulx_tasks.rake</filename>
    </modified>
    <modified>
      <diff>@@ -2,23 +2,25 @@
 &lt;!DOCTYPE plist PUBLIC &quot;-//Apple//DTD PLIST 1.0//EN&quot; &quot;http://www.apple.com/DTDs/PropertyList-1.0.dtd&quot;&gt;
 &lt;plist version=&quot;1.0&quot;&gt;
 &lt;dict&gt;
+	&lt;key&gt;currentDocument&lt;/key&gt;
+	&lt;string&gt;app/flex/Pomodo.mxml&lt;/string&gt;
 	&lt;key&gt;documents&lt;/key&gt;
 	&lt;array&gt;
 		&lt;dict&gt;
 			&lt;key&gt;expanded&lt;/key&gt;
 			&lt;true/&gt;
 			&lt;key&gt;name&lt;/key&gt;
-			&lt;string&gt;pomodo_on_rails&lt;/string&gt;
+			&lt;string&gt;pomodo&lt;/string&gt;
 			&lt;key&gt;regexFolderFilter&lt;/key&gt;
 			&lt;string&gt;!.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$&lt;/string&gt;
 			&lt;key&gt;sourceDirectory&lt;/key&gt;
 			&lt;string&gt;&lt;/string&gt;
 		&lt;/dict&gt;
 	&lt;/array&gt;
-	&lt;key&gt;fileHierarchyDrawerWidth&lt;/key&gt;
-	&lt;integer&gt;299&lt;/integer&gt;
-	&lt;key&gt;metaData&lt;/key&gt;
-	&lt;dict/&gt;
+  &lt;key&gt;fileHierarchyDrawerWidth&lt;/key&gt; 
+  &lt;integer&gt;299&lt;/integer&gt; 
+  &lt;key&gt;metaData&lt;/key&gt; 
+  &lt;dict/&gt; 
 	&lt;key&gt;shellVariables&lt;/key&gt;
 	&lt;array&gt;
 		&lt;dict&gt;
@@ -41,14 +43,30 @@
 			&lt;key&gt;enabled&lt;/key&gt;
 			&lt;true/&gt;
 			&lt;key&gt;value&lt;/key&gt;
-			&lt;string&gt;/Users/Dima/Projects/ruboss/ruboss_framework/framework/bin/ruboss.swc,/Users/Dima/Projects/ruboss/pomodo_on_rails/lib/flexlib-2.4.swc&lt;/string&gt;
+			&lt;string&gt;app/flex&lt;/string&gt;
 			&lt;key&gt;variable&lt;/key&gt;
-			&lt;string&gt;TM_FLEX_LIB_PATH&lt;/string&gt;
+			&lt;string&gt;TM_AS3_USUAL_SRC_DIRS&lt;/string&gt;
 		&lt;/dict&gt;
+		&lt;dict&gt;
+			&lt;key&gt;enabled&lt;/key&gt;
+			&lt;true/&gt;
+			&lt;key&gt;value&lt;/key&gt;
+			&lt;string&gt;/Users/Dima/Projects/dev/restfulx_framework/framework/src&lt;/string&gt;
+			&lt;key&gt;variable&lt;/key&gt;
+			&lt;string&gt;TM_AS3_LIB_SRC_DIRS&lt;/string&gt;
+		&lt;/dict&gt;
+    &lt;dict&gt;
+      &lt;key&gt;enabled&lt;/key&gt;
+      &lt;true/&gt;
+      &lt;key&gt;value&lt;/key&gt;
+      &lt;string&gt;flex&lt;/string&gt;
+      &lt;key&gt;variable&lt;/key&gt;
+      &lt;string&gt;TM_FLEX_RUNTIME&lt;/string&gt;
+    &lt;/dict&gt;
 	&lt;/array&gt;
 	&lt;key&gt;showFileHierarchyDrawer&lt;/key&gt;
 	&lt;false/&gt;
 	&lt;key&gt;windowFrame&lt;/key&gt;
-	&lt;string&gt;{{5, 15}, {1073, 860}}&lt;/string&gt;
+	&lt;string&gt;{{53, 14}, {1221, 864}}&lt;/string&gt;
 &lt;/dict&gt;
-&lt;/plist&gt;
+&lt;/plist&gt;
\ No newline at end of file</diff>
      <filename>pomodo_on_rails.tmproj</filename>
    </modified>
    <modified>
      <diff></diff>
      <filename>public/bin/Pomodo.swf</filename>
    </modified>
    <modified>
      <diff>@@ -13,7 +13,7 @@ quentin:
 
 dima:
   login:                     dima
-  email:                     dima@ruboss.com
+  email:                     dima@example.com
   salt:                      da4b9237bacccdf19c0760cab7aec4a8359010b0 # SHA1('1')
   crypted_password:          36445e39c689653c22bc7b596fbbb6b499e52a24 # 'monkey'
   created_at:                &lt;%= 1.days.ago.to_s :db %&gt;
@@ -26,7 +26,7 @@ dima:
 
 peter:
   login:                     peter
-  email:                     peter@ruboss.com
+  email:                     peter@example.com
   salt:                      da4b9237bacccdf19c0760cab7aec4a8359010b0 # SHA1('1')
   crypted_password:          36445e39c689653c22bc7b596fbbb6b499e52a24 # 'monkey'
   created_at:                &lt;%= 1.days.ago.to_s :db %&gt;</diff>
      <filename>test/fixtures/accounts.yml</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>config/initializers/flash_session_hack.rb</filename>
    </removed>
    <removed>
      <filename>lib/restfulx-1.2.1.swc</filename>
    </removed>
    <removed>
      <filename>public/index.html</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>c8c95e73e8428d1bccf083cc4ff1b73e2797806f</id>
    </parent>
  </parents>
  <author>
    <name>Dima Berastau</name>
    <email>dima.berastau@gmail.com</email>
  </author>
  <url>http://github.com/dima/pomodo_on_rails/commit/e8222a343d41890955e4571f0eedaf828b5fbca0</url>
  <id>e8222a343d41890955e4571f0eedaf828b5fbca0</id>
  <committed-date>2009-03-19T01:35:43-07:00</committed-date>
  <authored-date>2009-03-19T01:35:43-07:00</authored-date>
  <message>Updated the demo application to restfulx release 1.2.2</message>
  <tree>42243fb70dc3d8902dc601f86df2b3ec42a56b59</tree>
  <committer>
    <name>Dima Berastau</name>
    <email>dima.berastau@gmail.com</email>
  </committer>
</commit>
