<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-us">
<title type="text">Comments on MyInnoQBlog</title>
<subtitle type="text">by Daniel Pietzsch</subtitle>
<id>http://www.innoq.com/blog/dp//Comments</id>
<link rel="self" type="application/atom+xml" href="http://www.innoq.com/blog/dp/comments.xml"/>
<author>
<name>Visitors of MyInnoQBlog</name>
<uri>http://www.innoq.com/blog/dp/</uri>
<email>webmaster@innoq.com</email>
</author>
<generator uri="http://www.sixapart.com/movabletype/" version="3.31">Movable Type</generator>
<icon>http://www.innoq.com/favicon.ico</icon>
<updated>2008-07-12T18:06:38Z</updated>

<entry>
<updated>2008-08-14T09:02:35Z</updated>
<id>http://www.innoq.com/blog/dp/2007/12/doing_ajaxlinks_right_in_rails_1.html#c445318</id>
<author><name>Jan Marsh</name></author>
<title>Jan Marsh on "Doing AJAX-links right in Rails 2.0"</title>
<content type="html">
<![CDATA[<p>This Artikel finally stopped my headack and solved my stupid error. I had used linktoremote with :update in it. Thanks alot!!!</p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2007/12/doing_ajaxlinks_right_in_rails_1.html#c445318" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-07-14T08:43:37Z</updated>
<id>http://www.innoq.com/blog/dp/2008/07/status.html#c419545</id>
<author><name>Daniel</name></author>
<title>Daniel on "Status"</title>
<content type="html">
<![CDATA[<p>Thanks! :-)</p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2008/07/status.html#c419545" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-07-13T02:52:21Z</updated>
<id>http://www.innoq.com/blog/dp/2008/07/status.html#c417865</id>
<author><name>Philipp Haußleiter</name></author>
<title>Philipp Haußleiter on "Status"</title>
<content type="html">
<![CDATA[<p>I love that "here at innoq" and "occupied with writing the thesis".</p>

<p>And ... well... i have top pay you a compliment for your Application design :-).</p>

<p>Luck and success with your thesis!</p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2008/07/status.html#c417865" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-06-12T14:08:58Z</updated>
<id>http://www.innoq.com/blog/dp/2008/04/activeresource_and_association.html#c381499</id>
<author><name>Martijn</name></author>
<title>Martijn on "ActiveResource and Associations"</title>
<content type="html">
<![CDATA[<p>I'm using a function like the one below to do function calls like User.find(:all, :params => { :id => "1;3"  })</p>

<pre>
  def conditions_from_params
    conditions = nil
    params.reject {|key, value| [:controller, :action, :format].include?(key.to_sym)}.each do |key, value|
      next unless User.column_names.include?(key)
      if value.include?(';')
        value = value.split(';')
        conditions = merge_conditions(conditions, ["#{User.to_s.pluralize}.#{key.to_s} in (?)", value])
      else
        conditions = merge_conditions(conditions, ["#{User.to_s.pluralize}.#{key.to_s} = ?", value])
      end
    end
    conditions
  end
</pre>

<p>I'm still figuring out how to implement associations in ARes models.</p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2008/04/activeresource_and_association.html#c381499" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-06-12T13:29:02Z</updated>
<id>http://www.innoq.com/blog/dp/2008/04/activeresource_and_association.html#c381450</id>
<author><name>Daniel</name></author>
<title>Daniel on "ActiveResource and Associations"</title>
<content type="html">
<![CDATA[<p>Hi Martijn,</p>

<p>yes, I know that this is not so efficient, but afaik ActiveResource doesn't support selecting a custom amount of records from a remote resource. It's either all or one!</p>

<p>/Daniel</p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2008/04/activeresource_and_association.html#c381450" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-06-12T11:15:36Z</updated>
<id>http://www.innoq.com/blog/dp/2008/04/activeresource_and_association.html#c381321</id>
<author><name>Martijn</name></author>
<title>Martijn on "ActiveResource and Associations"</title>
<content type="html">
<![CDATA[<p>It's a nice solution, but the users method is quite inefficient. Basically, it should have been 1 query on the User model instead of n (where n equals the amount of users to be found).</p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2008/04/activeresource_and_association.html#c381321" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-05-19T10:09:27Z</updated>
<id>http://www.innoq.com/blog/dp/2007/09/htmltags_aus_einem_string_entf.html#c346804</id>
<author><name>Jens Jäger</name></author>
<title>Jens Jäger on "HTML-Tags aus einem String entfernen mittels regulärem Ausdruck [UPDATE]"</title>
<content type="html">
<![CDATA[<p>Hey Daniel,</p>

<p>vielen Dank für den Artikel. Genau das was ich im Moment gesucht hab. Und dank deinem Blog auch schnell gefunden hab.</p>

<p>Gruß Jens</p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2007/09/htmltags_aus_einem_string_entf.html#c346804" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-03-14T20:15:12Z</updated>
<id>http://www.innoq.com/blog/dp/2007/11/make_textmate_cope_with_rails.html#c269376</id>
<author><name>Daniel</name></author>
<title>Daniel on "Make TextMate cope with Rails 2.0 filename convention"</title>
<content type="html">
<![CDATA[<p>Maybe one could combine code fragments of the <em>CSS</em> language and the <em>HTML (Rails)</em> language. <br />
But I'm really not sure if this would work...</p>

<p>And as I don't have that many <em>css.erb</em> files, I haven't tried this myself.</p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2007/11/make_textmate_cope_with_rails.html#c269376" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-03-14T05:13:04Z</updated>
<id>http://www.innoq.com/blog/dp/2007/11/make_textmate_cope_with_rails.html#c268324</id>
<author><name>Vern</name></author>
<title>Vern on "Make TextMate cope with Rails 2.0 filename convention"</title>
<content type="html">
<![CDATA[<p>I suppose there is no way yet to get ruby syntax in the css.erb file as we do in html.erb?</p>

<p>I checked the bundle editor and without knowing much about it can and it looks like it requires a specific language file set up for this.</p>

<p>Has anyone tackled this yet? I don't think I could fake my way through it. I thought maybe there is a way to apply "both" language types to one format.</p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2007/11/make_textmate_cope_with_rails.html#c268324" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-03-13T17:47:02Z</updated>
<id>http://www.innoq.com/blog/dp/2007/11/make_textmate_cope_with_rails.html#c267906</id>
<author><name>David Flaherty</name></author>
<title>David Flaherty on "Make TextMate cope with Rails 2.0 filename convention"</title>
<content type="html">
<![CDATA[<p>Daniel,</p>

<p>Well, I thought that I had done that before to no avail, but it seems to have fixed the problem.  Thank you so very, very much!  Ahhh, TextMate, how I hate you &amp; how I love you!</p>

<ul>
<li>D</li>
</ul>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2007/11/make_textmate_cope_with_rails.html#c267906" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-03-12T11:34:03Z</updated>
<id>http://www.innoq.com/blog/dp/2008/03/more_ermodelling_1.html#c267225</id>
<author><name>Daniel</name></author>
<title>Daniel on "More ER-Modelling"</title>
<content type="html">
<![CDATA[<p>Hi Phillip,</p>

<p>thanks for replying. <br />
I was aware of the fact that <em>DailyReport.Date</em> is not a suitable identifier. I think I'll have an ID as a primary key or go for a combination of <em>DailyReport.Date</em> and the foreign key <em>Project.ID</em> as a primary key. <br />
Ok, that was not clear when looking at the graphic...so it's my fault. I should have mentioned the primary keys as well.</p>

<p>Concerning the naming of <em>DailyReport</em>, I should really choose a name that is more representative.</p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2008/03/more_ermodelling_1.html#c267225" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-03-12T09:12:25Z</updated>
<id>http://www.innoq.com/blog/dp/2007/11/make_textmate_cope_with_rails.html#c267186</id>
<author><name>Daniel</name></author>
<title>Daniel on "Make TextMate cope with Rails 2.0 filename convention"</title>
<content type="html">
<![CDATA[<p>Hi David,</p>

<p>so far everything looks alright with your settings. They are exactly the same as mine; and in my case this works fine.</p>

<p>If you didn't already do this: <br />
Maybe you have to explicitly apply the correct syntax highlighting (CSS) for css.erb files once. <br />
You can do this in the status bar at the bottom. Right next to "column" and "line" display, there's the drop-down menu for syntax highlighting. Open a css.erb file and then choose "CSS" in that menu. <br />
TextMate should then remember the settings for these files.</p>

<p>I hope this will work out for you.</p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2007/11/make_textmate_cope_with_rails.html#c267186" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-03-11T23:30:32Z</updated>
<id>http://www.innoq.com/blog/dp/2008/03/more_ermodelling_1.html#c267010</id>
<author><name>Phillip Ghadir</name></author>
<title>Phillip Ghadir on "More ER-Modelling"</title>
<content type="html">
<![CDATA[<p>In some special cases there might be a need for multiple entries per day for a TimeReport. According to this there might be a better name than DailyReport, although the relationship (TimeReport -> DailyReport) is sufficient, DailyReport.Date is not an suitable identifier.</p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2008/03/more_ermodelling_1.html#c267010" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-03-11T21:16:06Z</updated>
<id>http://www.innoq.com/blog/dp/2007/11/make_textmate_cope_with_rails.html#c266946</id>
<author><name>David Flaherty</name></author>
<title>David Flaherty on "Make TextMate cope with Rails 2.0 filename convention"</title>
<content type="html">
<![CDATA[<p>Daniel,</p>

<p>Thanks for the helpful post.  Still having some problems, though.  I've grabbed the latest rails bundle from the TextMate svn respository and followed your directions, but in spite of having deleted the plain '.erb' from HTML (Rails), TextMate still seems to be reading css.erb files with HTML highlighting.  I've reloaded the bundles and restarted the program a number of times.  Any ideas?</p>

<p>For CSS:</p>

<p>{   scopeName = 'source.css';
    comment = '';
    fileTypes = ( 'css', 'css.erb' );
        etc.</p>

<p>for HTML (Rails):
{   scopeName = 'text.html.ruby';
    fileTypes = ( 'rhtml', 'html.erb' );
    foldingStartMarker = '(?x)
        etc.</p>

<p>Thanks,
D</p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2007/11/make_textmate_cope_with_rails.html#c266946" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-02-27T17:27:56Z</updated>
<id>http://www.innoq.com/blog/dp/2008/02/second_ui_mockup.html#c252736</id>
<author><name>Daniel</name></author>
<title>Daniel on "Second UI mockup"</title>
<content type="html">
<![CDATA[<p>The "Stunden"-column was meant to be for a summary of worked hours for each week. <br />
In the current (unpublished) version of this mockup I already removed this column, because I think it's not really necessary due to the fact that you see the sum of all hours of the month in the sidebar.</p>

<p>And I also replaced the text-arrows by names of the months. Like this:</p>

<pre>&lt;&lt; Januar     Februar     März &gt;&gt;
</pre>

<p>You'll see all these changes in the next mockup I post...</p>

<p>Thanks for the comment! It seems like you often share my thoughts... ;-)</p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2008/02/second_ui_mockup.html#c252736" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-02-27T15:33:16Z</updated>
<id>http://www.innoq.com/blog/dp/2008/02/second_ui_mockup.html#c252703</id>
<author><name>Gerald Schenke</name></author>
<title>Gerald Schenke on "Second UI mockup"</title>
<content type="html">
<![CDATA[<p>Looks very nice. What is the "Stunden"-column for? </p>

<p>The Arrows for next/previous month should in line with the name of the actual month. And they should not contain a "=" or be little images, but that are just details. </p>

<p>Good job!</p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2008/02/second_ui_mockup.html#c252703" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-02-26T18:18:30Z</updated>
<id>http://www.innoq.com/blog/dp/2008/02/altered_ermodel_update.html#c251741</id>
<author><name>Daniel</name></author>
<title>Daniel on "Altered ER-Model [UPDATE]"</title>
<content type="html">
<![CDATA[<p>Thanks for your comment. I really wasn't sure how to store all the working hours. It seemed to much effort to me to add a new database entry for every day, employee and project; and due to the fact that this data is only used in this screens to calculate the complete amount of hours. So far it has no relevance for any other part of the application.</p>

<p>So, ok, I'll make a revision of the model and consider your suggestion. </p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2008/02/altered_ermodel_update.html#c251741" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-02-26T17:37:36Z</updated>
<id>http://www.innoq.com/blog/dp/2008/02/altered_ermodel_update.html#c251726</id>
<author><name>Stefan Tilkov</name></author>
<title>Stefan Tilkov on "Altered ER-Model [UPDATE]"</title>
<content type="html">
<![CDATA[<p>There is absolutely no reason to save space by encoding stuff within database fields -- I would strongly advise against this :-)</p>

<p>Having a table with working hours per day, employee and project seems fine to me. You can always keep a redundant total to speed up calculations, and archive old entries after a year or so. </p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2008/02/altered_ermodel_update.html#c251726" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-02-21T16:24:12Z</updated>
<id>http://www.innoq.com/blog/dp/2008/02/first_ui_mockup_1.html#c246846</id>
<author><name>Daniel</name></author>
<title>Daniel on "First UI mockup"</title>
<content type="html">
<![CDATA[<p>Yes, the notes to the right are for the whole month.
So far I think that's enough, because it is intended to be mostly for personal use. And hey: you know when you've been lazy... ;-) And I think this wouldn't add any useful information when it comes to invoices.</p>

<p>Yes, and I will color the weekends, as I'll still have to style the calendar. So far it's just a fake anyway...</p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2008/02/first_ui_mockup_1.html#c246846" type="application/xhtml+xml" hreflang="en" />
</entry>

<entry>
<updated>2008-02-20T15:12:46Z</updated>
<id>http://www.innoq.com/blog/dp/2008/02/first_ui_mockup_1.html#c245116</id>
<author><name>Gerald Schenke</name></author>
<title>Gerald Schenke on "First UI mockup"</title>
<content type="html">
<![CDATA[<p>i guess the notes on the right site are for the whole month. Will it be possible to add notes for every single day? (e.g. "Today i was really lazy and did nothing at all except writing this note!") :D</p>

<p>I like the layout so far. Perhaps you should consider to color the weekend-columns?</p>

<p>Nice work. Keep going!</p>
]]>
</content>
<link rel="alternate" href="http://www.innoq.com/blog/dp/2008/02/first_ui_mockup_1.html#c245116" type="application/xhtml+xml" hreflang="en" />
</entry>


</feed>