<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>hectorsq</title>
	<atom:link href="http://www.hectorsq.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hectorsq.com/blog</link>
	<description>Simply about software</description>
	<pubDate>Sat, 28 Feb 2009 02:03:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using rails-sqlserver-2000-2005-adapter on Windows</title>
		<link>http://www.hectorsq.com/blog/using-rails-sqlserver-2000-2005-adapter-on-windows</link>
		<comments>http://www.hectorsq.com/blog/using-rails-sqlserver-2000-2005-adapter-on-windows#comments</comments>
		<pubDate>Sat, 28 Feb 2009 01:31:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Rails]]></category>

		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.hectorsq.com/blog/?p=43</guid>
		<description><![CDATA[This is a different approach to my previous post Using SQL Server in Rails 2
Now I am using Rails 2.2.2 on Windows and the Rails SQL Server 2000-2005 adapter. Additionally I am using ODBC, because ADO support seems to be deprecated.
The installation is straightforward as explained on the adapter github page:

Since we are using ODBC [...]]]></description>
			<content:encoded><![CDATA[<p>This is a different approach to my previous post <a href="http://www.hectorsq.com/blog/using-sql-server-in-rails-2">Using SQL Server in Rails 2</a></p>
<p>Now I am using Rails 2.2.2 on Windows and the <a href="http://github.com/rails-sqlserver/2000-2005-adapter/tree/master">Rails SQL Server 2000-2005</a> adapter. Additionally I am using ODBC, because ADO support seems to be deprecated.</p>
<p>The installation is straightforward as explained on the adapter <a href="http://github.com/rails-sqlserver/2000-2005-adapter/tree/master">github </a>page:</p>
<p><script src="http://gist.github.com/71815.js"></script></p>
<p>Since we are using ODBC it is necessary to configure the data source using the ODBC Data Source Administrator in Windows Administrative Tools. In my case I used a System DSN.</p>
<p>The <code>config\database.yml</code> should look like this:</p>
<p><script src="http://gist.github.com/71813.js"></script></p>
<p>Where your_database_dsn is the System Data Source name that you defined in the ODBC Data Source Administrator.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hectorsq.com/blog/using-rails-sqlserver-2000-2005-adapter-on-windows/feed</wfw:commentRss>
		</item>
		<item>
		<title>Using SQL Server in Rails 2</title>
		<link>http://www.hectorsq.com/blog/using-sql-server-in-rails-2</link>
		<comments>http://www.hectorsq.com/blog/using-sql-server-in-rails-2#comments</comments>
		<pubDate>Tue, 12 Feb 2008 20:28:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Rails]]></category>

		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.hectorsq.com/blog/archives/14</guid>
		<description><![CDATA[These are the steps to access a SQL Server database from a Rails 2.0 application running on Windows.
The SQL Server adapter is not incuded by default in Rails 2. It is necessary to download and install it using the following command.

gem install activerecord-sqlserver-adapter
--source=http://gems.rubyonrails.org

Download the latest version of ruby-dbi from 
http://rubyforge.org/projects/ruby-dbi/ 
and then extract the file [...]]]></description>
			<content:encoded><![CDATA[<p>These are the steps to access a SQL Server database from a Rails 2.0 application running on Windows.</p>
<p>The SQL Server adapter is not incuded by default in Rails 2. It is necessary to download and install it using the following command.<br />
<code><br />
gem install activerecord-sqlserver-adapter<br />
--source=http://gems.rubyonrails.org<br />
</code></p>
<p>Download the latest version of ruby-dbi from </p>
<p><a href="http://rubyforge.org/projects/ruby-dbi/">http://rubyforge.org/projects/ruby-dbi/</a> </p>
<p>and then extract the file from <code>ruby-dbi\lib\dbd\ADO.rb</code> </p>
<p>to <code>C:\ruby\lib\ruby\site_ruby\1.8\DBD\ADO\ADO.rb</code>. </p>
<p>Warning, the folder ADO does not exist, so you have to create it in advance.</p>
<p>It is not possible to preconfigure rails for SQL Server using the <code>--database</code> option, just create your application as usual and then modify <code>config\database.yml</code> in your application folder as follows:<br />
<code><br />
  development:<br />
    adapter: sqlserver<br />
    database: your_database_name<br />
    host: your_sqlserver_host<br />
    username: your_sqlserver_user<br />
    password: your_sqlserver_password<br />
</code></p>
<p>Run rake db:migrate to check your installation. If everything is fine you should not receive any error message.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hectorsq.com/blog/using-sql-server-in-rails-2/feed</wfw:commentRss>
		</item>
		<item>
		<title>Books I am reading now</title>
		<link>http://www.hectorsq.com/blog/books-i-am-reading-now</link>
		<comments>http://www.hectorsq.com/blog/books-i-am-reading-now#comments</comments>
		<pubDate>Tue, 12 Jun 2007 05:19:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Books]]></category>

		<guid isPermaLink="false">http://www.hectorsq.com/blog/archives/11</guid>
		<description><![CDATA[
The international shipping rates are usually more expensive than the books, so I am reading the following books in PDF&#8230; 

TextMate, Power Editing for the Mac
Agile Web Development with Rails—Second Edition
Pragmatic Version Control using Subversion 2nd Ed.
Learn to Program
Behind Closed Doors
Programming Ruby (2nd. Ed.)
Pragmatic Unit Testing in C# 2nd Ed.
Beginning Ruby: From Novice to Professional
Smart [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.hectorsq.com/blog/wp-content/uploads/2007/06/books.jpg' alt='books.jpg' /></p>
<p>The international shipping rates are usually more expensive than the books, so I am reading the following books in PDF&#8230; </p>
<ul>
<li><a href="http://www.pragmaticprogrammer.com/titles/textmate/index.html">TextMate, Power Editing for the Mac</a></li>
<li><a href="http://www.pragmaticprogrammer.com/titles/rails2/index.html">Agile Web Development with Rails—Second Edition</a></li>
<li><a href="http://www.pragmaticprogrammer.com/titles/svn2/index.html">Pragmatic Version Control using Subversion 2nd Ed.</a></li>
<li><a href="http://www.pragmaticprogrammer.com/titles/fr_ltp/index.html">Learn to Program</a></li>
<li><a href="http://www.pragmaticprogrammer.com/titles/rdbcd/index.html">Behind Closed Doors</a></li>
<li><a href="http://www.pragmaticprogrammer.com/titles/ruby/index.html">Programming Ruby (2nd. Ed.)</a></li>
<li><a href="http://www.pragmaticprogrammer.com/titles/utc2/index.html">Pragmatic Unit Testing in C# 2nd Ed.</a></li>
<li><a href="http://www.apress.com/book/bookDisplay.html?bID=10244">Beginning Ruby: From Novice to Professional</a></li>
<li><a href="http://www.apress.com/book/bookDisplay.html?bID=10273">Smart and Gets Things Done</a></li>
<li><a href="http://www.apress.com/book/bookDisplay.html?bID=10057">Micro-ISV: From Vision to Reality</a></li>
<li><a href="http://www.apress.com/book/bookDisplay.html?bID=10124">Beginning Rails: From Novice to Professional</a></li>
</ul>
<p>&#8230; and I am reading these books <a href="http://safari.oreilly.com/">online</a></p>
<ul>
<li><a href="http://safari.oreilly.com/0596526873">CSS: The Missing Manual</a></li>
<li><a href="http://safari.oreilly.com/0321150783">Lean Software Development: An Agile Toolkit</a></li>
<li><a href="http://safari.oreilly.com/0321437381">Implementing Lean Software Development From Concept to Cash</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hectorsq.com/blog/books-i-am-reading-now/feed</wfw:commentRss>
		</item>
		<item>
		<title>Excuse me for my english</title>
		<link>http://www.hectorsq.com/blog/excuse-me-for-my-english</link>
		<comments>http://www.hectorsq.com/blog/excuse-me-for-my-english#comments</comments>
		<pubDate>Sat, 07 Apr 2007 03:10:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.hectorsq.com/blog/archives/3</guid>
		<description><![CDATA[I&#8217;ve thinking about which language to use in this blog. My native language is Spanish, however I believe that I can have more audience if I publish in English. Obviously my English is not as good as I&#8217;d like so please forgive me for any errors. I&#8217;ll try to do my best effort.

Please let me [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve thinking about which language to use in this blog. My native language is Spanish, however I believe that I can have more audience if I publish in English. Obviously my English is not as good as I&#8217;d like so please forgive me for any errors. I&#8217;ll try to do my best effort.</p>
<p><a href='http://www.hectorsq.com/blog/wp-content/uploads/2007/04/volcanes3.jpg' title='volcanes3.jpg'><img src='http://www.hectorsq.com/blog/wp-content/uploads/2007/04/volcanes3.jpg' alt='volcanes3.jpg' /></a></p>
<p>Please let me know if you find any spelling or grammar errors.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hectorsq.com/blog/excuse-me-for-my-english/feed</wfw:commentRss>
		</item>
	</channel>
</rss>

