<?xml version="1.0" encoding="UTF-8"?>
<tickets type="array">
  <ticket>
    <assigned-user-id type="integer">7400</assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2009-03-30T00:08:21+02:00</created-at>
    <creator-id type="integer">52299</creator-id>
    <milestone-due-on type="datetime" nil="true"></milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">265</number>
    <permalink>prefix-table-names-in-the-database</permalink>
    <priority type="integer">32838</priority>
    <project-id type="integer">13992</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>open</state>
    <tag>engines enhancement refactoring</tag>
    <title>prefix table names in the database</title>
    <updated-at type="datetime">2009-06-18T21:37:34+02:00</updated-at>
    <user-id type="integer">52299</user-id>
    <user-name>Pascal</user-name>
    <creator-name>Pascal</creator-name>
    <assigned-user-name>Sven Fuchs</assigned-user-name>
    <url>http://artweb-design.lighthouseapp.com/projects/13992/tickets/265</url>
    <original-body>With all those engines creating tables in the database, the 'regular' app table names may clash with those.

An example: my app needs an Activity model with a 'activities' table, but one engine already uses that table name.

I propose to re-base every model classes in adva to a class named like Adva::ActiveRecordBase which will look like this:
module Adva
  class ActiveRecordBase &lt; ActiveRecord::Base
    def self.table_name_prefix
      &quot;adva_&quot;
    end
  end
end

With this new base class, every adva model will use a table name prefix (thanx to AR).

Note that I put the class in the Adva module, I think every adva models should also be namedspaced, so not only the tablenames are but also the model classes.

Thanx for listening.

Pascal</original-body>
    <latest-body>With all those engines creating tables in the database, the 'regular' app table names may clash with those.

An example: my app needs an Activity model with a 'activities' table, but one engine already uses that table name.

I propose to re-base every model classes in adva to a class named like Adva::ActiveRecordBase which will look like this:
module Adva
  class ActiveRecordBase &lt; ActiveRecord::Base
    def self.table_name_prefix
      &quot;adva_&quot;
    end
  end
end

With this new base class, every adva model will use a table name prefix (thanx to AR).

Note that I put the class in the Adva module, I think every adva models should also be namedspaced, so not only the tablenames are but also the model classes.

Thanx for listening.

Pascal</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;With all those engines creating tables in the database, the
'regular' app table names may clash with those.&lt;/p&gt;
&lt;p&gt;An example: my app needs an Activity model with a 'activities'
table, but one engine already uses that table name.&lt;/p&gt;
&lt;p&gt;I propose to re-base every model classes in adva to a class
named like Adva::ActiveRecordBase which will look like this: module
Adva class ActiveRecordBase &amp;lt; ActiveRecord::Base&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;def self.table_name_prefix
  &quot;adva_&quot;
end
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;end end&lt;/p&gt;
&lt;p&gt;With this new base class, every adva model will use a table name
prefix (thanx to AR).&lt;/p&gt;
&lt;p&gt;Note that I put the class in the Adva module, I think every adva
models should also be namedspaced, so not only the tablenames are
but also the model classes.&lt;/p&gt;
&lt;p&gt;Thanx for listening.&lt;/p&gt;
&lt;p&gt;Pascal&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">25735</assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2008-09-24T15:03:26+02:00</created-at>
    <creator-id type="integer">1733</creator-id>
    <milestone-due-on type="datetime">2009-08-31T00:00:00+02:00</milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">63</number>
    <permalink>clean-up-time-hacks</permalink>
    <priority type="integer">18</priority>
    <project-id type="integer">13992</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>open</state>
    <tag>enhancement</tag>
    <title>Clean up time hacks</title>
    <updated-at type="datetime">2009-06-18T12:56:09+02:00</updated-at>
    <user-id type="integer">25735</user-id>
    <user-name>Marko Sepp&#228;</user-name>
    <creator-name>Josh H</creator-name>
    <assigned-user-name>Marko Sepp&#228;</assigned-user-name>
    <url>http://artweb-design.lighthouseapp.com/projects/13992/tickets/63</url>
    <original-body>While integrating Globalize, should be able to clean up adva_cms/lib/time_hacks.rb.</original-body>
    <latest-body>While integrating Globalize, should be able to clean up adva_cms/lib/time_hacks.rb.</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;While integrating Globalize, should be able to clean up
adva_cms/lib/time_hacks.rb.&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">7400</assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">false</closed>
    <created-at type="datetime">2008-07-08T23:16:13+02:00</created-at>
    <creator-id type="integer">7400</creator-id>
    <milestone-due-on type="datetime">2009-08-31T00:00:00+02:00</milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">14</number>
    <permalink>make-sure-emails-are-themeable</permalink>
    <priority type="integer">2</priority>
    <project-id type="integer">13992</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>open</state>
    <tag>email enhancement i18n themes</tag>
    <title>Make emails themeable and translateable</title>
    <updated-at type="datetime">2009-06-18T10:05:46+02:00</updated-at>
    <user-id type="integer">25735</user-id>
    <user-name>Marko Sepp&#228;</user-name>
    <creator-name>Sven Fuchs</creator-name>
    <assigned-user-name>Sven Fuchs</assigned-user-name>
    <url>http://artweb-design.lighthouseapp.com/projects/13992/tickets/14</url>
    <original-body>Not sure if that already works</original-body>
    <latest-body>Not sure if that already works</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;
Not sure if that already works
&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">7400</assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">true</closed>
    <created-at type="datetime">2008-07-25T10:06:48+02:00</created-at>
    <creator-id type="integer">7400</creator-id>
    <milestone-due-on type="datetime">2009-01-16T00:00:00+01:00</milestone-due-on>
    <milestone-id type="integer">14833</milestone-id>
    <number type="integer">41</number>
    <permalink>forum-post-form-is-prepopulated-with-user-data</permalink>
    <priority type="integer">6</priority>
    <project-id type="integer">13992</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>resolved</state>
    <tag>anonymous cache enhancement frontend uncomplete</tag>
    <title>Frontend: prepopulate cached form fields for anonymous users in JS</title>
    <updated-at type="datetime">2009-01-09T10:33:50+01:00</updated-at>
    <user-id type="integer">7400</user-id>
    <user-name>Sven Fuchs</user-name>
    <creator-name>Sven Fuchs</creator-name>
    <assigned-user-name>Sven Fuchs</assigned-user-name>
    <url>http://artweb-design.lighthouseapp.com/projects/13992/tickets/41</url>
    <milestone-title>Release 0.1.0</milestone-title>
    <original-body>Maybe add stories or view specs for all forms on the front end and check whether they behave as expected (no data populated to form fields when the page get's cached).</original-body>
    <latest-body>Maybe add stories or view specs for all forms on the front end and check whether they behave as expected (no data populated to form fields when the page get's cached).</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;
Maybe add stories or view specs for all forms on the front end and check whether they behave as expected (no data populated to form fields when the page get's cached).
&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">1733</assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">true</closed>
    <created-at type="datetime">2008-10-22T22:00:22+02:00</created-at>
    <creator-id type="integer">1733</creator-id>
    <milestone-due-on type="datetime">2008-11-02T00:00:00+01:00</milestone-due-on>
    <milestone-id type="integer" nil="true"></milestone-id>
    <number type="integer">129</number>
    <permalink>change-user-name-to-first-name-only-in-screens</permalink>
    <priority type="integer">1</priority>
    <project-id type="integer">13992</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>resolved</state>
    <tag>enhancement frontend user</tag>
    <title>Change user name to first name only in screens</title>
    <updated-at type="datetime">2008-10-28T17:36:40+01:00</updated-at>
    <user-id type="integer">1733</user-id>
    <user-name>Josh H</user-name>
    <creator-name>Josh H</creator-name>
    <assigned-user-name>Josh H</assigned-user-name>
    <url>http://artweb-design.lighthouseapp.com/projects/13992/tickets/129</url>
    <original-body>Review all screens and change display of user name to first_name only.</original-body>
    <latest-body>Review all screens and change display of user name to first_name only.</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;Review all screens and change display of user name to first_name
only.&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">18096</assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">true</closed>
    <created-at type="datetime">2008-07-08T22:33:28+02:00</created-at>
    <creator-id type="integer">7400</creator-id>
    <milestone-due-on type="datetime">2008-10-12T00:00:00+02:00</milestone-due-on>
    <milestone-id type="integer">20659</milestone-id>
    <number type="integer">4</number>
    <permalink>unify-date-formats-and-use-js-for-date-formatting</permalink>
    <priority type="integer">5</priority>
    <project-id type="integer">13992</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>resolved</state>
    <tag>&quot;default theme&quot; enhancement i18n uncomplete</tag>
    <title>Unify date formats and use js for date formatting</title>
    <updated-at type="datetime">2008-10-10T00:36:00+02:00</updated-at>
    <user-id type="integer">18096</user-id>
    <user-name>Clemens Kofler</user-name>
    <creator-name>Sven Fuchs</creator-name>
    <assigned-user-name>Clemens Kofler</assigned-user-name>
    <url>http://artweb-design.lighthouseapp.com/projects/13992/tickets/4</url>
    <milestone-title>Sprint #2</milestone-title>
    <original-body>In the frontend templates use a common date format, add a span with a machine readable format (maybe there's a microformat?) and have JS distance_of_time_in_words beautify them.</original-body>
    <latest-body>In the frontend templates use a common date format, add a span with a machine readable format (maybe there's a microformat?) and have JS distance_of_time_in_words beautify them.</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;
In the frontend templates use a common date format, add a span with a machine readable format (maybe there's a microformat?) and have JS distance_of_time_in_words beautify them.
&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">25735</assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">true</closed>
    <created-at type="datetime">2008-07-08T22:47:50+02:00</created-at>
    <creator-id type="integer">7400</creator-id>
    <milestone-due-on type="datetime">2008-10-12T00:00:00+02:00</milestone-due-on>
    <milestone-id type="integer">20659</milestone-id>
    <number type="integer">8</number>
    <permalink>add-various-filters-to-admin-comments-list</permalink>
    <priority type="integer">7</priority>
    <project-id type="integer">13992</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>resolved</state>
    <tag>backend comments enhancement interface</tag>
    <title>Add various filters to admin comments list</title>
    <updated-at type="datetime">2008-10-09T15:08:34+02:00</updated-at>
    <user-id type="integer">25735</user-id>
    <user-name>Marko Sepp&#228;</user-name>
    <creator-name>Sven Fuchs</creator-name>
    <assigned-user-name>Marko Sepp&#228;</assigned-user-name>
    <url>http://artweb-design.lighthouseapp.com/projects/13992/tickets/8</url>
    <milestone-title>Sprint #2</milestone-title>
    <original-body>Add various filters to the admin comments list (like on admin articles list)</original-body>
    <latest-body>Add various filters to the admin comments list (like on admin articles list)</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;
Add various filters to the admin comments list (like on admin articles list)
&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">25735</assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">true</closed>
    <created-at type="datetime">2008-08-27T09:58:19+02:00</created-at>
    <creator-id type="integer">26158</creator-id>
    <milestone-due-on type="datetime">2008-10-05T00:00:00+02:00</milestone-due-on>
    <milestone-id type="integer">20091</milestone-id>
    <number type="integer">59</number>
    <permalink>disable-file-upload-button-if-filename-is-empty</permalink>
    <priority type="integer">6</priority>
    <project-id type="integer">13992</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>resolved</state>
    <tag>asset backend enhancement interface</tag>
    <title>Disable file upload button if filename is empty</title>
    <updated-at type="datetime">2008-10-02T17:31:01+02:00</updated-at>
    <user-id type="integer">25735</user-id>
    <user-name>Marko Sepp&#228;</user-name>
    <creator-name>Torsten Becker</creator-name>
    <assigned-user-name>Marko Sepp&#228;</assigned-user-name>
    <url>http://artweb-design.lighthouseapp.com/projects/13992/tickets/59</url>
    <milestone-title>Sprint #1</milestone-title>
    <original-body>At the moment, you can click on file upload, if the textbox ist empty. Leads to an error</original-body>
    <latest-body>At the moment, you can click on file upload, if the textbox ist empty. Leads to an error</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;At the moment, you can click on file upload, if the textbox ist empty. Leads to an error&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
  <ticket>
    <assigned-user-id type="integer">25735</assigned-user-id>
    <attachments-count type="integer">0</attachments-count>
    <closed type="boolean">true</closed>
    <created-at type="datetime">2008-07-22T19:00:11+02:00</created-at>
    <creator-id type="integer">14866</creator-id>
    <milestone-due-on type="datetime">2008-10-05T00:00:00+02:00</milestone-due-on>
    <milestone-id type="integer">20091</milestone-id>
    <number type="integer">31</number>
    <permalink>articles-display-and-change-author</permalink>
    <priority type="integer">7</priority>
    <project-id type="integer">13992</project-id>
    <raw-data type="binary" nil="true" encoding="base64"></raw-data>
    <state>resolved</state>
    <tag>articles backend enhancement interface</tag>
    <title>articles: display and change author</title>
    <updated-at type="datetime">2008-10-01T15:24:11+02:00</updated-at>
    <user-id type="integer">25735</user-id>
    <user-name>Marko Sepp&#228;</user-name>
    <creator-name>Thomas R. Koll</creator-name>
    <assigned-user-name>Marko Sepp&#228;</assigned-user-name>
    <url>http://artweb-design.lighthouseapp.com/projects/13992/tickets/31</url>
    <milestone-title>Sprint #1</milestone-title>
    <original-body>Author is not displayed anywhere yet and there's also no selectbox for yet.</original-body>
    <latest-body>Author is not displayed anywhere yet and there's also no selectbox for yet.</latest-body>
    <original-body-html>&lt;div&gt;&lt;p&gt;
Author is not displayed anywhere yet and there's also no selectbox for yet.
&lt;/p&gt;&lt;/div&gt;</original-body-html>
  </ticket>
</tickets>
