<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>Redline's Weblog - Home</title>
  <id>tag:weblog.redlinesoftware.com,2010:mephisto/</id>
  <generator version="0.7.3" uri="http://mephistoblog.com">Mephisto Noh-Varr</generator>
  <link href="http://weblog.redlinesoftware.com/feed/atom.xml" rel="self" type="application/atom+xml"/>
  <link href="http://weblog.redlinesoftware.com/" rel="alternate" type="text/html"/>
  <updated>2010-06-24T17:57:00Z</updated>
  <entry xml:base="http://weblog.redlinesoftware.com/">
    <author>
      <name>marc</name>
    </author>
    <id>tag:weblog.redlinesoftware.com,2010-06-24:1614</id>
    <published>2010-06-24T17:50:00Z</published>
    <updated>2010-06-24T17:57:00Z</updated>
    <category term="Redzone Leagues"/>
    <link href="http://weblog.redlinesoftware.com/2010/6/24/redzone-leagues-migration-and-updates" rel="alternate" type="text/html"/>
    <title>Redzone Leagues Migration and Updates</title>
<content type="html">
            &lt;h1&gt;Redzone gets a new home&lt;/h1&gt;


	&lt;p&gt;We&#8217;ve recently migrated Redzone to a new data center to improve reliability and performance. To keep up to date on the service status please follow us on twitter &lt;a href=&quot;http://twitter.com/redzoneleagues&quot;&gt;@redzoneleagues&lt;/a&gt;. Leagues with custom domain names have been contacted with the &lt;span class=&quot;caps&quot;&gt;DNS&lt;/span&gt; changes you will need to make, but if you are having problems please contact us support@redzoneleagues.com.&lt;/p&gt;


	&lt;h1&gt;User Configurable Statistics&lt;/h1&gt;


	&lt;p&gt;We&#8217;ve added support for user configurable statistics. This only applies to stats for certain sports, so you may not see this in use for your league at the moment.  Some statistic calculations vary depending on league, so now a league should be able to configure one of the configurable stats to their needs.  An example of this is goals against average in hockey; this calculation uses the game length in minutes which could vary between leagues. To see the available statistics options for your league, click on &#8220;Statistics Management&#8221; under your admin dashboard.&lt;/p&gt;


	&lt;h1&gt;Multiple Active Seasons&lt;/h1&gt;


	&lt;p&gt;Redzone previously had a limitation of one active season at anytime. Many of our leagues were trying to host tournaments during their season or had multiple seasons going on at the same time, so we&#8217;ve added support for this. You can setup your seasons under the admin dashboard.&lt;/p&gt;


	&lt;h1&gt;Upcoming Updates&lt;/h1&gt;


	&lt;p&gt;We have additional features in the works, so stay tuned for more frequent updates. If you&#8217;d like to comment or make requests for upcoming features, please either leave a comment in the blog or post a message in our &lt;a href=&quot;http://redzoneleagues.com/forum&quot;&gt;forums&lt;/a&gt;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://weblog.redlinesoftware.com/">
    <author>
      <name>andrew</name>
    </author>
    <id>tag:weblog.redlinesoftware.com,2009-12-03:1585</id>
    <published>2009-12-03T08:31:00Z</published>
    <updated>2009-12-03T08:32:21Z</updated>
    <category term="General"/>
    <category term="Labs"/>
    <category term="Plugins"/>
    <category term="Ruby on Rails"/>
    <link href="http://weblog.redlinesoftware.com/2009/12/3/css-asset-tagger-rails-plugin" rel="alternate" type="text/html"/>
    <title>CSS Asset Tagger Rails Plugin</title>
<content type="html">
            &lt;p&gt;We&#8217;ve released a new plugin for Rails that adds asset timestamps to assets found in an apps stylesheets.&lt;/p&gt;


	&lt;p&gt;The plugin is available at &lt;a href=&quot;http://github.com/redlinesoftware/css_asset_tagger&quot;&gt;http://github.com/redlinesoftware/css_asset_tagger&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Simply install the plugin and it will tag any assets in your css files with asset timestamps.  More information on asset timestamps can be found at &lt;a href=&quot;http://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html&quot;&gt;http://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;We wrote a previous &lt;a href=&quot;http://weblog.redlinesoftware.com/2009/1/25/nginx-expiry-for-ruby-on-rails&quot;&gt;article&lt;/a&gt; on using asset timestamps with nginx, but similar usage applies to Apache as well for example.&lt;/p&gt;


	&lt;p&gt;The main purpose for writing this plugin is that stylesheets that use images for various things don&#8217;t get tagged with the asset timestamps when they&#8217;re written as plain old css files.  These images can&#8217;t make use of expiration techniques very easily without the timestamps.  So to make things work as they do with images in rails views, this plugin will add the same timestamps to assets in css files as they are in rails views.&lt;/p&gt;


Before&#8230;
&lt;pre&gt;&lt;code&gt;
#navigation_bar {
  background-image: url(/images/background-nav.png);
}
&lt;/code&gt;&lt;/pre&gt;

After&#8230;
&lt;pre&gt;&lt;code&gt;
#navigation_bar {
  background-image: url(/images/background-nav.png?1234567890);
}
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;If you&#8217;re using &lt;a href=&quot;http://developer.yahoo.com/yslow/&quot;&gt;yslow&lt;/a&gt; and some decent expiration on the server and you don&#8217;t like seeing images from your css files being shown in your report card, this plugin should make those all go away and hopefully give you a better grade. :)&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://weblog.redlinesoftware.com/">
    <author>
      <name>andrew</name>
    </author>
    <id>tag:weblog.redlinesoftware.com,2009-11-12:1583</id>
    <published>2009-11-12T17:25:00Z</published>
    <updated>2009-11-12T17:25:57Z</updated>
    <category term="Features"/>
    <category term="Redzone Leagues"/>
    <link href="http://weblog.redlinesoftware.com/2009/11/12/lacrosse-support-in-redzone" rel="alternate" type="text/html"/>
    <title>Lacrosse Support in Redzone</title>
<content type="html">
            &lt;p&gt;We&#8217;ve added support for Lacrosse to Redzone.  If you or somebody you know has a Lacrosse league, sign up and check it out.&lt;/p&gt;


	&lt;p&gt;Quick update to hockey; we&#8217;ve added support for +/- stats as well.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://weblog.redlinesoftware.com/">
    <author>
      <name>andrew</name>
    </author>
    <id>tag:weblog.redlinesoftware.com,2009-11-06:1531</id>
    <published>2009-11-06T06:09:00Z</published>
    <updated>2009-11-06T06:10:28Z</updated>
    <category term="Features"/>
    <category term="General"/>
    <category term="Redzone Leagues"/>
    <link href="http://weblog.redlinesoftware.com/2009/11/6/statistic-updates-multiple-positions-and-team-statistics" rel="alternate" type="text/html"/>
    <title>Redzone Updates: Multiple positions and Team statistics</title>
<content type="html">
            &lt;p&gt;We&#8217;ve just deployed some major updates to Redzone&#8217;s statistics.  These include support for multiple positions as well as team related statistics in addition to the player statistics that were only supported before.&lt;/p&gt;


	&lt;p&gt;We&#8217;ve added new statistics to some of the sports, so you check for those in the &#8220;Statistics Management&#8221; section of the admin dashboard.  If there are statistics that you don&#8217;t see, but would like to see added then just send us an email at &lt;a href=&quot;mailto://support@redzoneleagues.com&quot;&gt;support@redzoneleagues.com&lt;/a&gt; and let us know what additional stats you would like to see.&lt;/p&gt;


	&lt;p&gt;The game cards haven&#8217;t been updated to support the addition of multiple positions yet, but this will be supported in an upcoming release.  If your league doesn&#8217;t track stats for more than one position then you&#8217;ll be fine with the current game cards.&lt;/p&gt;


	&lt;p&gt;We&#8217;ve made some changes to the standings calculations. Points can now be awarded to teams for Overtime losses. This is a common theme in hockey where shootouts occur.&lt;/p&gt;


	&lt;p&gt;The forums display a users profile picture (avatar) along with their post count.&lt;/p&gt;


	&lt;p&gt;Other minor changes and fixes have been made as well and we have a few more quick updates coming in the next few weeks; mainly the addition of some new statistics.&lt;/p&gt;


	&lt;p&gt;Since this is fairly large update, there may be some minor issues that may appear, so if you notice any inconsistencies or issues with any of the statistic values, please let us know and we&#8217;ll correct the issues as soon as we can.  You can do so by posting a message in our &lt;a href=&quot;http://forum.redzoneleagues.com&quot;&gt;forums&lt;/a&gt; or by sending us an email.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://weblog.redlinesoftware.com/">
    <author>
      <name>andrew</name>
    </author>
    <id>tag:weblog.redlinesoftware.com,2009-06-21:1548</id>
    <published>2009-06-21T22:35:00Z</published>
    <updated>2009-07-18T21:23:58Z</updated>
    <category term="Ruby on Rails"/>
    <link href="http://weblog.redlinesoftware.com/2009/6/21/silencing-db-messages-during-tests" rel="alternate" type="text/html"/>
    <title>Silencing DB messages during tests</title>
<content type="html">
            &lt;p&gt;When running tests in Rails, sometimes you need to perform various tasks in the database directly which can lead to a lot of unwanted messages in your test output.&lt;/p&gt;


	&lt;p&gt;If you&#8217;re using Postgresql, simply add the following line to your &lt;code&gt;tests/tests_helper.rb&lt;/code&gt; file.&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;ActiveRecord::Base.connection.execute &amp;quot;set client_min_messages to ERROR&amp;quot;&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;Now you&#8217;ll only see messages of &lt;span class=&quot;caps&quot;&gt;ERROR&lt;/span&gt; and above in your test output.&lt;/p&gt;


	&lt;h1&gt;Update&lt;/h1&gt;


	&lt;p&gt;Found a better way to do this.  In your database.yml file, simply add the following line to your :test section.&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;yml&quot;&gt;min_messages: ERROR&lt;/code&gt;&lt;/pre&gt;
          </content>  </entry>
  <entry xml:base="http://weblog.redlinesoftware.com/">
    <author>
      <name>marc</name>
    </author>
    <id>tag:weblog.redlinesoftware.com,2009-06-21:1547</id>
    <published>2009-06-21T20:35:00Z</published>
    <updated>2009-06-21T20:36:05Z</updated>
    <category term="Plugins"/>
    <link href="http://weblog.redlinesoftware.com/2009/6/21/plugins-moved-to-github" rel="alternate" type="text/html"/>
    <title>Plugins moved to Github</title>
<content type="html">
            &lt;p&gt;We finally got around to moving our plugins from our old &lt;span class=&quot;caps&quot;&gt;SVN&lt;/span&gt; machine into Github. Although we&#8217;ve been using Git for a long time, we were slow on moving our plugins for some reason.&lt;/p&gt;


	&lt;p&gt;&lt;a href=&quot;http://github.com/redlinesoftware&quot;&gt;github.com/redlinesoftware&lt;/a&gt;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://weblog.redlinesoftware.com/">
    <author>
      <name>marc</name>
    </author>
    <id>tag:weblog.redlinesoftware.com,2009-04-04:1538</id>
    <published>2009-04-04T15:03:00Z</published>
    <updated>2009-04-04T15:07:40Z</updated>
    <category term="Redzone Leagues"/>
    <link href="http://weblog.redlinesoftware.com/2009/4/4/team-registration-changes" rel="alternate" type="text/html"/>
    <title>Team Registration Changes</title>
<content type="html">
            &lt;p&gt;A minor change has been made to Redzone Leagues with regards to the team signup process. When a user registers a team, they will now receive an confirmation email with an activation link that they will need to load in order to complete the registration process.&lt;/p&gt;


	&lt;p&gt;The reason for this change was to ensure that team representatives have current email addresses entered into the system. League administrators often need to contact team representatives, so we want to make sure those emails are as current as possible. As always, users can update their email address by clicking &#8220;My Profile&#8221; at the top of the site. If they need to resend a team activation email, they can do so from their &#8220;My Teams&#8221; page, which is linked at the top of the site after they create a team.&lt;/p&gt;


	&lt;p&gt;If you are a league administrator adding a new team, you will not need to complete the activation process. This is done to make the team creation by administrators as quick as possible.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://weblog.redlinesoftware.com/">
    <author>
      <name>andrew</name>
    </author>
    <id>tag:weblog.redlinesoftware.com,2009-02-14:1530</id>
    <published>2009-02-14T06:28:00Z</published>
    <updated>2009-02-14T06:32:00Z</updated>
    <category term="General"/>
    <category term="Labs"/>
    <category term="Ruby on Rails"/>
    <link href="http://weblog.redlinesoftware.com/2009/2/14/extending-named-scopes" rel="alternate" type="text/html"/>
    <title>Extending Named Scopes</title>
<content type="html">
            &lt;p&gt;Quick code tip&#8230;&lt;/p&gt;


	&lt;p&gt;I&#8217;m using &lt;code&gt;named_scope&lt;/code&gt; with a lambda as the 2nd paramater, but I also want to extend the &lt;code&gt;named_scope&lt;/code&gt; with some custom methods.&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;named_scope :for_league, lambda{|league_id| {league conditions} } do
  def default
  end
  def do_something_custom
  end
end&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;I use the same extended methods in more than one place, so I figured I&#8217;d use something similar to the &lt;code&gt;:extend&lt;/code&gt; option used with association methods like &lt;code&gt;has_many&lt;/code&gt;, but I can&#8217;t pass an &lt;code&gt;:extend&lt;/code&gt; option if I&#8217;m also using a lambda.&lt;/p&gt;


	&lt;p&gt;The way around this is to just include the methods directly in the block.&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;module Associations
  def default
  end
  def do_something_custom
  end
end

named_scope :for_league, lambda{|league_id| {league conditions} } do
  include Associations
end&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;Works like a charm.  Now I can just reuse the &lt;code&gt;Associations&lt;/code&gt; module where I need it.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://weblog.redlinesoftware.com/">
    <author>
      <name>andrew</name>
    </author>
    <id>tag:weblog.redlinesoftware.com,2009-01-25:1528</id>
    <published>2009-01-25T08:48:00Z</published>
    <updated>2009-01-25T08:53:12Z</updated>
    <category term="General"/>
    <category term="Ruby on Rails"/>
    <link href="http://weblog.redlinesoftware.com/2009/1/25/nginx-expiry-for-ruby-on-rails" rel="alternate" type="text/html"/>
    <title>Nginx expiry for Ruby on Rails</title>
<summary type="html">&lt;p&gt;Setting the &lt;a href=&quot;http://developer.yahoo.com/performance/rules.html#expires&quot;&gt;expiry header&lt;/a&gt; is a pretty easy way to optimize page loads.   Rails helps with this by adding a 10 digit query string that represents the last modified time of the file to assets such as images, stylesheets and javascript files .&lt;/p&gt;


	&lt;p&gt;Some details on the asset timestamp (the query string of the url) can be viewed in the rails api &lt;a href=&quot;http://api.rubyonrails.com/classes/ActionView/Helpers/AssetTagHelper.html&quot;&gt;docs&lt;/a&gt; in the &lt;strong&gt;Using asset timestamps&lt;/strong&gt; section.&lt;/p&gt;


	&lt;p&gt;An example of the paths generated in your views look like this&#8230;&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;/stylesheets/styles.css?1234567890&lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;So if you&#8217;re using Nginx, how do we configure things to properly set the expires header?&lt;/p&gt;</summary><content type="html">
            &lt;p&gt;Setting the &lt;a href=&quot;http://developer.yahoo.com/performance/rules.html#expires&quot;&gt;expiry header&lt;/a&gt; is a pretty easy way to optimize page loads.   Rails helps with this by adding a 10 digit query string that represents the last modified time of the file to assets such as images, stylesheets and javascript files .&lt;/p&gt;


	&lt;p&gt;Some details on the asset timestamp (the query string of the url) can be viewed in the rails api &lt;a href=&quot;http://api.rubyonrails.com/classes/ActionView/Helpers/AssetTagHelper.html&quot;&gt;docs&lt;/a&gt; in the &lt;strong&gt;Using asset timestamps&lt;/strong&gt; section.&lt;/p&gt;


	&lt;p&gt;An example of the paths generated in your views look like this&#8230;&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;/stylesheets/styles.css?1234567890&lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;So if you&#8217;re using Nginx, how do we configure things to properly set the expires header?&lt;/p&gt;
&lt;p&gt;Many examples I see for setting the expiry header with Nginx look something like this&#8230;&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
location ~* (stylesheets|javascripts|images) {
  if (-f $request_filename) {
    expires max;
    break;
  }
}
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;This example runs a regex against the location of the incoming query for a path that contains one of the rails asset types.  If the requested file exists then the expiry header is set.  &lt;strong&gt;max&lt;/strong&gt; here just tells the server to set the expiry date to the maximum value possible.  You can set it to 10 years or any number of days if you prefer.&lt;/p&gt;


	&lt;p&gt;The issue with this is approach is that it is a &#8220;catch all&#8221; and ignores the query string on an asset if one exists.  Both &lt;code&gt;/stylesheets/styles.css?1234567890&lt;/code&gt; and &lt;code&gt;/stylesheets/styles.css&lt;/code&gt; are treated the same using this method of expiry.&lt;/p&gt;


	&lt;p&gt;If an asset is retrieved from the server (query string or not) and the expires header is set, the next time the file is referenced in the browser, the file will be loaded from the browser cache instead of the server.  Now if the asset is modified on the server, rails will update the query string and the browser will recognize the difference and re-fetch it from the server.  For the assets that don&#8217;t have an associated query string (like &lt;code&gt;/stylesheets/styles.css&lt;/code&gt;), the browser will have no idea anything has changed and still load the file from it&#8217;s cache.  This can cause styles or scripts to go out of sync between the server and the browser causing some nasty issues for the user.&lt;/p&gt;


	&lt;p&gt;So essentially, we only want to set the expires header on the assets that have a query string and &lt;em&gt;not&lt;/em&gt; set the expires header on assets that don&#8217;t have one.  This way the browser will always retrieve the most up to date version of a file.&lt;/p&gt;


What we&#8217;re looking for are &lt;strong&gt;2 conditions&lt;/strong&gt; that need to be satisfied before we set the expires header:
	&lt;ol&gt;
	&lt;li&gt;The file is one of the asset types&lt;/li&gt;
		&lt;li&gt;The query string contains the 10 digit timestamp&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;So let&#8217;s update the config to only set the expires header on asset files that have the 10 digit query string.&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
location ~* (stylesheets|javascripts|images) {
  if (!-f $request_filename) {
    break;
  }
  if ($query_string ~* &quot;^[0-9]{10}$&quot;) {
    expires max;
    break;
  }
}
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;Here we use the same regex as before to find one of the asset types, but now instead of checking if the file exists, we check if it doesn&#8217;t exist.  If the file doesn&#8217;t exist, we break out and don&#8217;t set the expires header which is fine.  If the file does exist, then we don&#8217;t break, but continue evaluating our conditions because we&#8217;ve now satisfied &lt;strong&gt;condition 1&lt;/strong&gt; as we are looking at one of our asset files.  The next thing we do is check the query string for a 10 digit pattern.  If the check is successful then we&#8217;ve also satisfied &lt;strong&gt;condition 2&lt;/strong&gt; and can set the expires header for the file.&lt;/p&gt;


	&lt;p&gt;Now when we update an asset file on the server and Rails updates the query string, the server will re-fetch the file and set a new expires value&#8230; perfect.&lt;/p&gt;


	&lt;p&gt;If you want to check the file extension instead of their directories, you can use the following configuration instead.  Note the location regex change.&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
location ~* \.(js|css|jpg|jpeg|gif|png)$ {
  if (!-f $request_filename) {
    break;
  }
  if ($query_string ~* &quot;^[0-9]{10}$&quot;) {
    expires      max;
    break;
  }
}
&lt;/code&gt;&lt;/pre&gt;
          </content>  </entry>
  <entry xml:base="http://weblog.redlinesoftware.com/">
    <author>
      <name>andrew</name>
    </author>
    <id>tag:weblog.redlinesoftware.com,2009-01-07:1524</id>
    <published>2009-01-07T22:35:00Z</published>
    <updated>2009-01-07T22:36:11Z</updated>
    <category term="Features"/>
    <category term="Redzone Leagues"/>
    <link href="http://weblog.redlinesoftware.com/2009/1/7/player-data-and-ot-pts" rel="alternate" type="text/html"/>
    <title>Player data and OT Pts</title>
<content type="html">
            &lt;p&gt;Two new features have been added to Redzone.&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;You can now download your player data from the admin users page.  The file can be imported into a spreadsheet and formatted however you see fit.&lt;/li&gt;
		&lt;li&gt;A new overtime win point setting has been added along with the other point settings which are available from the admin dashboard.&lt;/li&gt;
	&lt;/ol&gt;
          </content>  </entry>
  <entry xml:base="http://weblog.redlinesoftware.com/">
    <author>
      <name>marc</name>
    </author>
    <id>tag:weblog.redlinesoftware.com,2008-12-20:1495</id>
    <published>2008-12-20T17:30:00Z</published>
    <updated>2008-12-20T17:33:31Z</updated>
    <category term="Redzone Leagues"/>
    <link href="http://weblog.redlinesoftware.com/2008/12/20/follow-us-on-twitter" rel="alternate" type="text/html"/>
    <title>Follow us on Twitter</title>
<content type="html">
            &lt;p&gt;For our Redzone Leagues users, you can now follow us on Twitter to receive updates or service status messages.&lt;/p&gt;


	&lt;p&gt;&lt;a href=&quot;http://twitter.com/redzoneleagues&quot;&gt;Follow us @redzoneleagues&lt;/a&gt;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://weblog.redlinesoftware.com/">
    <author>
      <name>andrew</name>
    </author>
    <id>tag:weblog.redlinesoftware.com,2008-12-20:1494</id>
    <published>2008-12-20T06:55:00Z</published>
    <updated>2008-12-20T06:55:55Z</updated>
    <category term="Features"/>
    <category term="Redzone Leagues"/>
    <link href="http://weblog.redlinesoftware.com/2008/12/20/redzone-update" rel="alternate" type="text/html"/>
    <title>Redzone Update</title>
<content type="html">
            &lt;p&gt;Just a quick note to mention some small updates recently made to Redzone&#8230;&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;Division Stats
- You can now view the stats for an entire division.  The default it still the top 10 for all divisions, but if you&#8217;re looking for an extended list of stats, you now have that option.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;Allow multiple contacts
- This is a really minor change, but before you couldn&#8217;t add a user more than once on the contact page, but now you can.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;Division email
- An additional email option has been added to the teams page.  You can now send an email to an entire division if required.  (This is only accessible to administrators)&lt;/li&gt;
	&lt;/ul&gt;
          </content>  </entry>
  <entry xml:base="http://weblog.redlinesoftware.com/">
    <author>
      <name>andrew</name>
    </author>
    <id>tag:weblog.redlinesoftware.com,2008-10-19:1256</id>
    <published>2008-10-19T23:38:00Z</published>
    <updated>2009-01-09T22:33:17Z</updated>
    <category term="Features"/>
    <category term="Redzone Leagues"/>
    <link href="http://weblog.redlinesoftware.com/2008/10/19/team-roster-enhancements" rel="alternate" type="text/html"/>
    <title>Team Roster Enhancements</title>
<content type="html">
            &lt;p&gt;It&#8217;s been a little while since our last feature update post, but we&#8217;ve recently added a couple of new enhancements to the team rosters.&lt;/p&gt;


	&lt;p&gt;Player number support has now been added.  An administrator or team contact can enter in player numbers for their team and these will appear on the team page and will also automatically appear on game score cards.&lt;/p&gt;


	&lt;p&gt;The second addition is the ability to &#8220;disable&#8221; a player on a team.  An administrator or team captain may want to do this if a player no longer plays on a team or have been &#8220;traded&#8221; to another team, etc.  Disabled players are removed from the team email messages as well as the list of eligible players for a game when entering stats.&lt;/p&gt;


	&lt;p&gt;Both of these features are only available to the league administrator and the team contact.  Simply press the &#8220;Edit Roster&#8221; button at the bottom of the page for a specific team and you will have the options to specify the player numbers as well as enabling and disabling players using the checkboxes beside each player.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://weblog.redlinesoftware.com/">
    <author>
      <name>andrew</name>
    </author>
    <id>tag:weblog.redlinesoftware.com,2008-08-13:603</id>
    <published>2008-08-13T05:46:00Z</published>
    <updated>2008-12-20T06:59:47Z</updated>
    <category term="Features"/>
    <category term="Redzone Leagues"/>
    <link href="http://weblog.redlinesoftware.com/2008/8/13/redzone-forum-rss-feeds" rel="alternate" type="text/html"/>
    <title>Redzone News &amp; Forum RSS Feeds</title>
<content type="html">
            &lt;p&gt;We&#8217;ve added &lt;span class=&quot;caps&quot;&gt;RSS&lt;/span&gt; feeds for news items as well as each forum that you create for your league.  There&#8217;s also a feed for all of the forums combined.  See your browsers docs and/or use your favourite &lt;span class=&quot;caps&quot;&gt;RSS&lt;/span&gt; reader to make use of them.&lt;/p&gt;


	&lt;p&gt;Enjoy!&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://weblog.redlinesoftware.com/">
    <author>
      <name>andrew</name>
    </author>
    <id>tag:weblog.redlinesoftware.com,2008-08-11:602</id>
    <published>2008-08-11T06:40:00Z</published>
    <updated>2009-03-09T21:23:26Z</updated>
    <category term="Ruby on Rails"/>
    <link href="http://weblog.redlinesoftware.com/2008/8/11/file_column-image-regeneration" rel="alternate" type="text/html"/>
    <title>file_column image regeneration</title>
<content type="html">
            &lt;p&gt;If you use file_column for some projects and find that you want to change the thumbnail sizes that you&#8217;ve been using for models, then hopefully this little bit of code can help.&lt;/p&gt;


	&lt;p&gt;Add this as a rake task and run it as &lt;code&gt;rake &quot;filecolumn:regenerate[Model, field]&quot; RAILS_ENV=production&lt;/code&gt; where &lt;em&gt;Model&lt;/em&gt; is the model you want to regenerate images for and &lt;em&gt;field&lt;/em&gt; is the filecolumn field on the model.  The task uses Rake arguments, so you&#8217;ll need Rake 0.8.&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;namespace :filecolumn do
  desc &amp;quot;Regenerate filecolumn images&amp;quot;
  task :regenerate, :model, :field, :needs =&amp;gt; :environment do |task,args|
    if args.any?{|k,v| v.blank?}
      puts &amp;quot;Usage: #{task.name}[Model,field]&amp;quot;
    else
      klass, field = args.model.constantize, args.field

      klass.all.each do |obj|
        puts &amp;quot;Regenerating #{klass} #{obj.id}&amp;quot;
        next if obj.send(field).nil?
        state = obj.send(&amp;quot;#{field}_state&amp;quot;)
        state.instance_variable_set(:@just_uploaded, true)
        state.transform_with_magick
      end
    end
  end
end&lt;/code&gt;&lt;/pre&gt;

The code essentially boils down to 2 lines&#8230;
	&lt;ul&gt;
	&lt;li&gt;setting @just_uploaded to true on the state object&lt;/li&gt;
		&lt;li&gt;calling the transform_with_magick method on the state object&lt;/li&gt;
	&lt;/ul&gt;
          </content>  </entry>
</feed>
