<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>ror &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/ror/</link>
	<description>Feed of posts on WordPress.com tagged "ror"</description>
	<pubDate>Mon, 06 Oct 2008 12:25:13 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Technical Lead - Ruby on Rails - 4+ Years - BrickRed Technologies  - Noida]]></title>
<link>http://jobs4umate.wordpress.com/?p=1912</link>
<pubDate>Mon, 06 Oct 2008 07:24:45 +0000</pubDate>
<dc:creator>Talentty</dc:creator>
<guid>http://jobs4umate.pt-br.wordpress.com/2008/10/06/technical-lead-ruby-on-rails-4-years-brickred-technologies-noida/</guid>
<description><![CDATA[BrickRed Technologies  - Noida
BrickRed is India’s leading provider of commercial grade offshore ]]></description>
<content:encoded><![CDATA[<p><strong><a href="http://www.brickred.com/" target="_blank">BrickRed Technologies  </a>- Noida</strong></p>
<p>BrickRed is India’s leading provider of commercial grade offshore software development services to technology and IT enabled SME’s worldwide. Lead by technocrat’s from IIT’s, our mission has been to provide professional and process oriented outsourcing services to SME sector that only fortune companies could muster till date by paying high prices to big service providers.</p>
<p>BrickRed Technologies, founded in 2002 is a privately held organization head quartered at a state-of-art offshore development center in Noida, Delhi. With offices in US, UK and Dubai, we have been providing services for end to end development of commercial grade software products and applications to Start-up, Emerging and Established technology companies &#38; IT enabled organizations. Till date, we have successfully partnered with more than 40 technology companies in various domains like travel, retail, insurance, banking, security, e-learning and many more for offshore development of their successful products. More than 50 mid sized organizations, where software forms the back bone for running their operations, have benefited financially as well as technically by successfully outsourcing their software development, testing and maintenance needs to BrickRed.</p>
<p><strong>Designation : Technical Lead - Ruby on Rails</strong></p>
<p><strong>Years of Experience : 4+ Years</strong></p>
<p><strong>Location : Noida</strong></p>
<p><strong>Job Description</strong> :</p>
<p>Strong Object Oriented Concepts.</p>
<p>Knowledge of different open source applications.</p>
<p>Should have good understanding of MYSQL or any other databases</p>
<p>Well versed with Rails framework.</p>
<p>Should have excellent working experience on Ruby on Rails.</p>
<p> Should be following good coding standards</p>
<p><strong></strong> For more details visit <a href="http://www.brickred.com/">http://www.brickred.com/</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[New Free Book: Ruby on Rails 2.1 - What’s new]]></title>
<link>http://innetra.wordpress.com/?p=47</link>
<pubDate>Tue, 30 Sep 2008 11:42:32 +0000</pubDate>
<dc:creator>Ivan Torres</dc:creator>
<guid>http://innetra.pt-br.wordpress.com/2008/09/30/new-free-book-ruby-on-rails-21-whats-new/</guid>
<description><![CDATA[If you don&#8217;t want to miss all the novelties of Ruby on Rails 2.1 this book is a must!
Referenc]]></description>
<content:encoded><![CDATA[<p>If you don't want to miss all the novelties of Ruby on Rails 2.1 <a href="http://www.nomedojogo.com/livro/carlosbrando-rubyonrails21_en.pdf">this book</a> is a must!</p>
<p><strong>References</strong></p>
<ul>
<li>
<a href="http://www.nomedojogo.com/2008/06/09/new-free-book-ruby-on-rails-21-whats-new/">New Free Book: “Ruby on Rails 2.1 - What’s new</a></li>
</ul>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Migrations: Did they mature with Rails 2.1.# ]]></title>
<link>http://gauravsohoni.wordpress.com/?p=98</link>
<pubDate>Tue, 30 Sep 2008 10:04:59 +0000</pubDate>
<dc:creator>Gaurav Sohoni</dc:creator>
<guid>http://gauravsohoni.pt-br.wordpress.com/2008/09/30/migrations-did-they-mature-with-rails-21/</guid>
<description><![CDATA[With the new face of Rails (Rails 2.1 and beyond), came the change in the way migrations used to wor]]></description>
<content:encoded><![CDATA[<p>With the new face of Rails (Rails 2.1 and beyond), came the change in the way migrations used to work.<br />
So lets see some of the changes that went into migrations (that is when Rails was 1.2.3)... the then and now changes ...</p>
<p>First of all, serial numbers for migrations are gone and they have made way for the <span style="color:#ff93aa;">UTC</span> based names for<br />
the migrations. So earlier (pre Rails 2.1 era) if one created migration scripts, they used to get their<br />
names serially like...<br />
<code><br />
<span style="color:#ff93aa;"><br />
001_create_books.rb<br />
002_create_shelves.rb</span><br />
</code><br />
whereas now the names have the UTC timestamps on them ...<code><br />
<span style="color:#ff93aa;"><br />
20080601000001_create_books.rb<br />
20080601000002_create_shelves.rb<br />
</span></code><br />
With this new change rake db:migrate could apply all migrations that had not yet gone into database (as now<br />
all migrations run and add an entry into the database migration table). Because of this the issue with the earlier version of migrations was taken care of i.e old migrations heavily used to rely on once single entry to run the migrations. If you somehow happened to screw the version number, u ended up getting failed migration errors.</p>
<p>Along came one more functionality which now lets run the up and down functions for a particular migration.<code><br />
<span style="color:#ff93aa;"><br />
$ rake db:migrate:up VERSION=20080601000002<br />
$ rake db:migrate:down VERSION=20080601000002<br />
</span></code><br />
rake db:migrate:up or rake db:migrate:down let you go up or roll back a particular migration's changes.</p>
<p>The other change was the name of the table that stored the migration information. In earlier version of<br />
rails, it used to be 'schema_info' which gave way to 'schema_migrations'. So I would suggest not to look<br />
for the earlier name in case you got your application migrated from Rails 1.2.# to Rails 2.1.#.</p>
<p>We also got rid of specifying<br />
<code><span style="color:#ff93aa;"><br />
t.column &#60;attribute_name&#62; &#60;data_type&#62; </span></code>for the attributes and</p>
<p>it got reduced to<br />
<code><span style="color:#ff93aa;"><br />
t.&#60;data_type&#62; &#60;attribute_name&#62;<br />
</span></code><br />
which would look something like this in the new migration...<br />
<code><span style="color:#ff93aa;"><br />
class CreateBooks &#60; ActiveRecord::Migration<br />
&#160;&#160;def self.up<br />
&#160;&#160;&#160;&#160;create_table :books do &#124;t&#124;<br />
&#160;&#160;&#160;&#160;&#160;&#160;t.integer :code, :null =&#62; false<br />
&#160;&#160;&#160;&#160;&#160;&#160;t.string    :name<br />
&#160;&#160;&#160;&#160;&#160;&#160;t.string    :author_id ... for the author's sake...<br />
&#160;&#160;&#160;&#160;&#160;&#160;t.timestamps<br />
&#160;&#160;&#160;&#160;end<br />
&#160;&#160;end</span></code><br />
<code><span style="color:#ff93aa;"><br />
&#160;&#160;def self.down<br />
&#160;&#160;&#160;&#160;reverse the gears ...<br />
&#160;&#160;end<br />
end<br />
</span></code></p>
<p>To add to this, timestamps came into existence which was a required addition so that we could save<br />
some keystrokes and bid goodbye to<br />
<code><span style="color:#ff93aa;"><br />
t.column created_at<br />
t.column updated_at<br />
</span></code></p>
<p>So those were some of the changes cum additions ....<br />
To go ahead with, lets see the cycle of migration ...</p>
<p>Now with the new mmigrations, when they are run, this is what happens ...</p>
<p><span style="color:#ff93aa;">1.</span> Table 'schema_migrations' is created if that does not exist.<br />
<span style="color:#ff93aa;">2.</span> For every migrations that runs successfully, an entry is created in the schema migrations table.<br />
<span style="color:#ff93aa;">3.</span> The leading part of the migration filename gets stored into the table.<br />
&#160;&#160;&#160;&#160;&#160;For eg. 20080601000001 gets saved when 20080601000001_create_books.rb runs and updates the database.<br />
<span style="color:#ff93aa;">4.</span> New migrations run when an entry is not found in the migrations table.</p>
<p>So now if you want to force and roll your database to a specific version, you supply the VERSION= parameter<br />
<code><span style="color:#ff93aa;"><br />
$ rake db:migrate VERSION=20080601000002<br />
</span></code><br />
If that version happens to be greater than those already in, the migrations will be applied. But in case the<br />
version number is lesser than those in the migrations table, than Rails undoes the changes and self.down comes into play and thus migrations run in reverse direction to undo changes to the version that was specified.</p>
<p>One good thing which most of us must be missing and which is gone with arrival of the new migrations is the shorter version numbers for the migration files.</p>
<p>Earlier we could do something like<br />
<code><span style="color:#ff93aa;"><br />
$ rake db:migrate VERSION=2<br />
</span></code><br />
which has become this now<br />
<code><span style="color:#ff93aa;"><br />
$ rake db:migrate VERSION=20080601000002<br />
</span></code><br />
So I bet it is not so easy to remember the exact 14 character version number but I guess as long as we have <span style="color:#ff93aa;">Ctrl C</span> n <span style="color:#ff93aa;">Ctrl V</span>, it wont be much of a problem ;)</p>
<p>So to end or startup with, I think they did mature just like other things that matured with time ...<br />
Rails included :)</p>
<p>Time for me to migrate to a new blog post .. till then keep migrating the new way ...</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Ruby on Rails: GEdit Snippets]]></title>
<link>http://innetra.wordpress.com/?p=34</link>
<pubDate>Tue, 30 Sep 2008 09:47:38 +0000</pubDate>
<dc:creator>Ivan Torres</dc:creator>
<guid>http://innetra.pt-br.wordpress.com/2008/09/30/ruby-on-rails-gedit-snippets/</guid>
<description><![CDATA[We&#8217;ve published a new repository at GitHub with some gEdit Snippets for Ruby on Rails. Comment]]></description>
<content:encoded><![CDATA[<p>We've published a new repository at <a href="https://github.com/">GitHub</a> with some gEdit Snippets for Ruby on Rails. Comments and any suggestions are always welcome!!!</p>
<p><strong>Installation</strong></p>
<p>1. Get the sources:<br />
<code><br />
$ git clone git://github.com/innetra/gedit-snippets-for-rails.git<br />
</code>
</p>
<p>2. Copy the xml files to your snippets dir:<br />
<code><br />
$ cp gedit-snippets-for-rails/*xml ~/.gnome2/gedit/snippets/.<br />
</code>
</p>
<p>And you're done... enjoy!!!</p>
<p><strong>Warning</strong></p>
<p>You might have created snippets already, so I recommend to backup your snippets folder first:<br />
<code><br />
$ cp -R ~/.gnome2/gedit/snippets ~/.gnome2/gedit/snippets.bkp<br />
</code>
</p>
<h3>References</h3>
<ul>
<li><a href="http://www.gnome.org/projects/gedit/">GEdit</a></li>
<li><a href="http://live.gnome.org/Gedit/Plugins/Snippets">GEdit Snippets Plugin</a></li>
<li><a href="http://github.com/innetra/gedit-snippets-for-rails/tree/master">GEdit Snippets for Rails</a></li>
</ul>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Team Lead - Ruby on Rails - 5+ Years - BOB Tech Solution - Bangalore]]></title>
<link>http://jobs4umate.wordpress.com/?p=1902</link>
<pubDate>Mon, 29 Sep 2008 14:04:49 +0000</pubDate>
<dc:creator>Talentty</dc:creator>
<guid>http://jobs4umate.pt-br.wordpress.com/2008/09/29/team-lead-ruby-on-rails-5-years-bob-tech-solution-bangalore/</guid>
<description><![CDATA[BOB Technologies, Bangalore
BOB Technologies started operations from January 2005, with activities ]]></description>
<content:encoded><![CDATA[<p><strong>BOB Technologies, Bangalore</strong></p>
<p><span style="font-weight:400;text-decoration:none;"><strong>BOB Technologies</strong> started operations from January 2005, with activities like Software development and Staff augmentation services, BOB Technologies represents an enthusiastic team of bright &#38; experienced business executives with collective strengths moving towards a shared goal!</p>
<p>BOB Technologies, based in Bangalore, Karnataka, provides Business solutions and Staff Augmentation to medium and large sized corporations in the global market.</p>
<p>Our 130+ team will soon emerge to be 175+ software professionals by the end of the next financial quarter, consisting of technically sound; handpicked and identified from the Indian IT colleges and industry.<br />
</span></p>
<p>Please refer to the requirement below and send me your updated Resume along with your contact number, current and expected CTC to <a href="mailto:acvarma@bob-technologies.com" target="_blank">acvarma@bob-technologies.com</a></p>
<p><strong>Designation                       : Team Lead<br />
Primary Skills                    : Ruby on Rails<br />
Relevant Experience           : 5+ Yrs<br />
Location                           : Bangalore<br />
Preferred Qualification       : BE, B.Tech, MCA, MSc (CS, ECE, IT, IS)<br />
Roles and Responsibilities</strong>:<br />
•       Extensive knowledge in Ruby &#38;amp; Ruby on rails or J2EE is mandatory<br />
•       Knowledge on AJAX would be an added advantage<br />
•       Should be exposed to performing tasks such as Coding, unit, integration testing and bug fixing  and code review<br />
•       Should be capable of Low level designing<br />
•       Should be flexible to learn, adapt and use new technologies in RoR<br />
•       Application server concepts and exposure to deployment of Java/J2EE applications in any of Tomcat / JBoss / Websphere / Weblogic servers is must<br />
•       Experience in Customer interaction is mandatory<br />
•       Should be hands on in Production deployment with extensive knowledge in configuring Apache, Apache tomcat, database clustering application and load balancing.<br />
•       Ability to create automated scripts using Maven / Rake to build &#38;amp; deploy application is required<br />
•       Exposure to agile development methodologies/Scrum with test driven, iterative development would be an added advantage<br />
•       Should have good communication skills.</p>
<p>Please refer your friends for this positions</p>
<p>With Regards,<br />
Chaitanya Varma Alluri<br />
BOB Tech Solution<br />
Email: <a href="mailto:acvarma@bob-technologies.com" target="_blank">acvarma@bob-technologies.com</a><br />
website: <a href="http://www.bob-technologies.com/">http://www.bob-technologies.com/</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Listado de Empresas de Hosting para Webs desarrolladas en Rails (RoR)]]></title>
<link>http://peachep.wordpress.com/?p=267</link>
<pubDate>Mon, 29 Sep 2008 08:05:34 +0000</pubDate>
<dc:creator>Ruben</dc:creator>
<guid>http://peachep.pt-br.wordpress.com/2008/09/29/listado-de-empresas-de-hosting-para-webs-desarrolladas-en-rails-ror/</guid>
<description><![CDATA[Hace unos días en la lista de www.ruby-forum.com se estuvo discutiendo sobre cual o cuales son los ]]></description>
<content:encoded><![CDATA[<p>Hace unos días en la lista de <a href="http://www.ruby-forum.com/">www.ruby-forum.com</a> se estuvo discutiendo sobre cual o cuales son los mejores proveedores de Hosting para alojar las páginas desarrolladas en Rails.</p>
<p><strong>Jaime Iniesta</strong> postea en su <a href="http://www.jaimeiniesta.com/">blog</a> este <a href="http://www.jaimeiniesta.com/2008/10/02/comparativa-de-hosting-ruby-on-rails/">interesante artículo </a>basado en su experiencia. Echadle un vistazo que merece la pena.</p>
<p>A continuación os dejo un resumen de las propuestas ofrecidas por el resto de listeros.</p>
<ul>
<li><a href="http://www.slicehost.com/">SliceHost</a></li>
<li><a href="http://aws.amazon.com/ec2/">Amazon EC2</a></li>
<li><a href="http://www.dreamhost.com/">DreamHost</a></li>
<li><a href="http://www.linode.com">Linode.com</a></li>
<li><a href="http://www.guebs.com/">guebs</a></li>
<li><a href="http://mediatemple.net/webhosting/gs/">Media Temple (GridContainer)</a></li>
<li><a href="http://railsplayground.com/">RailsPlayGround</a></li>
<li><a href="http://www.ferca.com/">Ferca</a></li>
<li><a href="http://www.brightbox.co.uk/">Brightbox</a></li>
<li><a href="http://www.flexiscale.com/">Flexiscale</a></li>
<li><a href="http://www.engineyard.com/">EngineYard</a></li>
<li><a href="http://www.ovh.es">OVH</a></li>
<li><a href="http://www.sbhostingsolutions.com/">SB</a></li>
</ul>
<p>Comentar un punto a tener en cuenta: Cuando se contrata desde un país Europeo el alojamiento con una empresa situada fuera de Europa es conveniente asegurarse de que ésta cumpla con la normativa relacionada con la protección de datos Europea, el denominado <strong>Safe Harbour</strong>.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Endless options mean web development does not have to hit the rails]]></title>
<link>http://dharmeshmistry.wordpress.com/?p=84</link>
<pubDate>Fri, 26 Sep 2008 11:19:42 +0000</pubDate>
<dc:creator>dharmeshmistry</dc:creator>
<guid>http://dharmeshmistry.pt-br.wordpress.com/2008/09/26/endless-options-mean-web-development-does-not-have-to-hit-the-rails/</guid>
<description><![CDATA[As I have stated before, better application interaction across different devices should be the web s]]></description>
<content:encoded><![CDATA[<p>As I have stated before, better application interaction across different devices should be the web standard we all aim for. </p>
<p>However, progress has been sticky - and it can be difficult for users to access applications on different devices. </p>
<p>Standards such as XForms and WHATWG provide a step in the right direction, but are constrained by either the need for user plug-ins or the slow development of the framework.</p>
<p>So, how do alternative standards - such as JavaServer Faces (JSF) and Ruby on Rails (RoR) - provide more opportunities for creating web applications?</p>
<p>As its name suggests, JSF is Java-based – and its component-based framework aims to ease the development of user interfaces (UIs).</p>
<p>The approach allows the creation and re-use of specific components, promoting the quick and flexible development of web pages.</p>
<p>One of the other key benefits of JSF is the ability to work with a range of internet technologies. Particularly notable is the interaction with Ajax, which can help developer’s enrich JSF designs with Ajax-based components.</p>
<p>Work on the JSF specification continues apace and a series of big-name vendors are helping to push the development and adoption of the standard.</p>
<p>RoR - which is an open source framework for creating web applications - is also receiving an increasing amount of backing. </p>
<p>The framework intends to push agile programming, providing standard models for web site construction and the automatic allocation of information in databases.</p>
<p>Apple started shipping the framework in late 2007 and other firms continue to show an interest. </p>
<p>Microsoft, for example, recently announced plans to increase its commitment to Ruby. The Redmond-based software giant plans to take part in the RubySpec project, an attempt to provide a complete specification for the RoR programming language.</p>
<p>Such progress shows how developers do not need to feel constrained as they attempt to create usable web applications. </p>
<p>As my previous posts have aimed to highlight, the world of front-end development for SOA is a crowded place and each framework offers a unique blend of benefits and constraints. </p>
<p>My advice is simple. First, don't re-invent the wheel - there is definitely an available framework that suits your needs, without having to create a presentation platform. </p>
<p>Second, take tour time before sourcing a solution. Look at all your presentation requirements across online and offline experiences, analyse support for devices and variations in presentation, and also investigate the skills you may - or may not have - in your organisation.</p>
<p>Just remember that the options are out most definitely out there.</p>
<p><a href="http://digg.com/"><br />
<img src="http://digg.com/img/badges/100x20-digg-button.gif" width="100" height="20" alt="Digg!" /><br />
</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Recursos del segundo día del Taller!]]></title>
<link>http://crystalblood.wordpress.com/?p=31</link>
<pubDate>Thu, 25 Sep 2008 18:32:42 +0000</pubDate>
<dc:creator>crystalblood</dc:creator>
<guid>http://crystalblood.pt-br.wordpress.com/2008/09/25/recursos-del-segundo-dia-del-taller/</guid>
<description><![CDATA[En el segundo día estuvimos viendo&#8230;

La estructura del Framework.
En que consiste el &#8220;A]]></description>
<content:encoded><![CDATA[<p>En el segundo día estuvimos viendo...</p>
<ul>
<li><strong>La estructura del Framework.</strong></li>
<li><strong>En que consiste el "Agile Software Development" (Manifiesto ágil).</strong></li>
<li><strong>El concepto MVC (Modelo Vista Controlador).</strong></li>
<li><strong>Las Convenciones.</strong></li>
<li><strong>Los "Generators".</strong></li>
<li><strong>Que es un Rake?.</strong></li>
<li><strong>Las Gemas (Gems).<br />
</strong></li>
<li><strong>Un pequeño proyecto.</strong></li>
</ul>
<p>Les dejo la diapositiva utilizada!</p>
<p>Links:</p>
<ul>
<li><a href="http://filego.net/DOVTEFH2XPUE/Taller_de_Ruby_on_Rails_ETyC_Martes_23_Septiembre_2008.ppt.html" target="_blank">Diapositiva :: Taller de Ruby On Rails Martes 23 de Septiembre 2008</a></li>
<li><a href="http://rapidshare.com/files/148354294/Taller_de_Ruby_on_Rails_ETyC_Martes_23_Septiembre_2008.ppt.html" target="_blank">Diapositiva :: Taller de Ruby On Rails Martes 23 de Septiembre 2008</a></li>
<li><a href="http://files3.com/a37" target="_blank">Diapositiva :: Taller de Ruby On Rails Martes 23 de Septiembre 2008</a></li>
</ul>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Stand-up Programming?]]></title>
<link>http://bebanjo.wordpress.com/?p=22</link>
<pubDate>Thu, 25 Sep 2008 15:46:02 +0000</pubDate>
<dc:creator>Bastian</dc:creator>
<guid>http://bebanjo.pt-br.wordpress.com/2008/09/25/stand-up-programming/</guid>
<description><![CDATA[BeBanjo at the bleeding edge of productivity innovation

So, Jorge convinced me of the merits of pai]]></description>
<content:encoded><![CDATA[[caption id="attachment_33" align="alignnone" width="300" caption="BeBanjo at the bleeding edge of productivity innovation"]<a href="http://bebanjo.wordpress.com/files/2008/09/img_01651.jpg"><img class="size-medium wp-image-33" title="Trio-standup-programming" src="http://bebanjo.wordpress.com/files/2008/09/img_01651.jpg?w=300" alt="BeBanjo at the bleeding edge of productivity innovation" width="300" height="225" /></a>[/caption]
<p><a href="http://bebanjo.files.wordpress.com/2008/09/img_01651.jpg"><br />
</a>So, Jorge convinced me of the merits of <a title="Pair Programming Wiki" href="http://en.wikipedia.org/wiki/Pair_programming" target="_blank">pair-programming</a> a while back. In short this basically involves two programmers/engineers working off the same computer simultaneously.</p>
<p>At BeBanjo we always like to be at the very forefront of innovation. Today standup-trio-programming was invented here. A wiki will be made available once the scientists have figured out whether this makes sense or not......</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Jadi Anda ingin melakukan perintah diff di Ruby?]]></title>
<link>http://ariekusumaatmaja.wordpress.com/?p=378</link>
<pubDate>Wed, 24 Sep 2008 07:18:42 +0000</pubDate>
<dc:creator>Arie Kusuma Atmaja</dc:creator>
<guid>http://ariekusumaatmaja.pt-br.wordpress.com/2008/09/24/jadi-anda-ingin-melakukan-perintah-diff-di-ruby/</guid>
<description><![CDATA[Fitur revision hari gini udah bukan jamannya lagi bilang sulit kalo cuma main di cvs, svn, git, bzr,]]></description>
<content:encoded><![CDATA[<p>Fitur revision hari gini udah bukan jamannya lagi bilang sulit kalo cuma main di <a href="http://en.wikipedia.org/wiki/Concurrent_Versions_System">cvs</a>, <a href="http://en.wikipedia.org/wiki/Subversion_(software)">svn</a>, <a href="http://en.wikipedia.org/wiki/Git_(software)">git</a>, <a href="http://en.wikipedia.org/wiki/Bazaar_(software)">bzr</a>, <a href="http://en.wikipedia.org/wiki/Mercurial_(software)">mercurial</a>, <a href="http://en.wikipedia.org/wiki/Svk">svk</a>, <a href="http://en.wikipedia.org/wiki/Darcs">darcs</a>, dst tapi udah biasa dipake untuk yang di web entah itu dengan solusi pintar seperti rcs atau cara konvensional lewat database biasa sahaja.</p>
<p>penggunaan command diff yang biasa kita dapatkan dari <a href="http://en.wikipedia.org/wiki/Unix">*nix</a>/<a href="http://en.wikipedia.org/wiki/Linux">linux</a> command ini bisa juga kita dapatkan dengan <a href="http://www.rubyinside.com">Ruby</a>, mungkin bagi yang belum tahu sempat terfikir untuk memakai javascript anu (hah? javascript) atau bahkan akses ke system ataupun backtick -_- </p>
<p>Berikut link link ke resource tsb, selamat menikmati!</p>
<p><a href="http://tfletcher.com/dev/rails-plugins">Situsnya</a>, <a href="http://tfletcher.com/dev/riff.zip">Sedot source codenya dalam format kompresan zip</a>, hm.. udah, biasanya dari sana kalo dilirik mustinya kalo orang Ruby udah jelas, ndul.</p>
<p>Tapi berhubung ada yang lagi manja dan pingin dimanja trus lagi bernafsu manja (anying brengsek), nih tambahan link linknya.</p>
<p><a href="http://pullmonkey.com/2007/5/2/riff-activerecord-diff-plugin">Riff Active Record diff plugin di Pull Monkey <em>huh dasar monyet!</em></a>, <a href="http://wiki.rubyonrails.org/rails/pages/Riff+Plugin">keterangan soal riff plugin di wikinya rails <em>ah ternyata lagi lagi ke wiki rails juga ya</em>, <a href="http://www.juixe.com/techknow/index.php/2006/07/05/riff-rails-plugin/">trus sama ini postingan di blognya si juixe</a></p>
<p>Udah, mo mbalik semedi lagi.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Documentação do Ruby e Rails no FireFox]]></title>
<link>http://cachina.wordpress.com/?p=269</link>
<pubDate>Tue, 23 Sep 2008 17:30:30 +0000</pubDate>
<dc:creator>Mayron Cachina</dc:creator>
<guid>http://cachina.pt-br.wordpress.com/2008/09/23/documentacao-do-ruby-e-rails-no-firefox/</guid>
<description><![CDATA[Olá pessoal, trabalhar sem ter acesso rápido e prático a documentação é bem complicado. Existe]]></description>
<content:encoded><![CDATA[<p>Olá pessoal, trabalhar sem ter acesso rápido e prático a documentação é bem complicado. Existem várias formas de usar documentação de gems como o Rails e outros localmente direto do seu computador, pequenos ajustes como o <a href="http://stephencelis.com/archive/2008/6/bashfully-yours-gem-shortcuts">gemdoc</a> facilitam bastante a vida. Principalmente quando não tem acesso a internet.</p>
<p>Mas uma coisa legal e que todo mundo já deve conhecer é o <a href="http://apidock.com/">ApiDock</a> com documentações de Rails, Ruby e RSpec… com direito a comentários e tudo. Mas uma pequena dica que talvez possa passar desapercebido são os atalhos para adicionar as buscas direto no seu Firefox. Usuários de outros browsers nem vão conseguir enchegar o link, mas para quem usa FireFox basta acessar <a href="http://apidock.com/rails/search">http://apidock.com/rails/search</a> e clicar no link “Add Ruby on Rails quicksearch to your browser ” para instalar o Apidock como opção de busca para no campo de buscas do Firefox.</p>
<p>O mesmo pode se feito para ruby acessando <a href="http://apidock.com/ruby/search">http://apidock.com/ruby/search</a> , o resultado será como abaixo:</p>
<p><img src="http://blog.areacriacoes.com.br/assets/2008/9/23/Picture_1.png" alt="" /></p>
<div class="postinfo">
<p>Post retirado do <a href="http://blog.areacriacoes.com.br/2008/9/23/documenta-o-do-ruby-e-rails-no-firefox" target="_blank">Área Criações</a></div>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Which is the best way to store human message and config in your rails app?]]></title>
<link>http://ariekusumaatmaja.wordpress.com/?p=371</link>
<pubDate>Tue, 23 Sep 2008 09:07:54 +0000</pubDate>
<dc:creator>Arie Kusuma Atmaja</dc:creator>
<guid>http://ariekusumaatmaja.pt-br.wordpress.com/2008/09/23/which-is-the-best-way-to-store-human-message-and-config-in-your-rails-app/</guid>
<description><![CDATA[Where do you save your flash[:notice] howaa your record has been successfully created, updated, blah]]></description>
<content:encoded><![CDATA[<p>Where do you save your flash[:notice] howaa your record has been successfully created, updated, blah blah, deleted, etc ? Where do you save your config file ? YAML ? Hash ? Other ways.</p>
<p>Here is a list of ways I know, you can share yours, you can just leave your comment (no worries don't be afraid to speak up as I don't bite).</p>
<p><!--more--></p>
<p><a href="http://tech.groups.yahoo.com/group/id-ruby/message/4416">I actually spoke about this at Indonesian Ruby mailing list around a month ago (in Bahasa Indonesia)</a>. </p>
<ol>
<li>
		Create a YAML file inside config, say <code>settings.yml</code> which contains a hash over there, then load it from <code>config/initializers</code> say for example <code>load_setting.rb</code>. Here's the code for <code>settings.yml</code> :</p>
<pre>
:flash:
  :user:
    :created: 'Thanks for signing up!'

  :job:
    :updated: 'Thanks for updating your job!'
		</pre>
<p>		So that we can load that <code>settings.yml</code> inside <code>config/initializers/load_setting.rb</code> :</p>
<pre>
SETTINGS = YAML.load_file("#{RAILS_ROOT}/config/settings.yml")
		</pre>
<p>		Then we can call that flash inside our controller like this</p>
<pre>
flash[:notice] = SETTINGS[:flash][:user][:created]
		</pre>
<p>		From my experience, my designer and creative director who worked with me loved this, he can handle all those human and marketing language without being afraid to touch and mess up my codes.</p>
<p>		Its weakness is if we use ADD (asshole driven development) oops I mean coding then go to browser refresh got error back again to coding then this yaml file is not automatically loaded by the web server. Yuck, then don't use ADD, use <a href="http://en.wikipedia.org/wiki/Extreme_Programming">XP</a>!</p>
<p>		What do you say about this?
	</li>
<li>
		Create a file inside model or lib which contains a Hash, then load it from controller for example.
	</li>
<li>
		Create a plugin which contain a <a href="http://noobkit.com/show/ruby/rails/rails-stable/activesupport/module/mattr_accessor.html">mattr_accessor</a> <a href="http://toolmantim.com/article/2007/5/18/consolidating_your_apps_constants">that provide a attr_accessor for Mixin</a>, lurk at <a href="http://github.com/technoweenie/restful-authentication/tree/master/lib/authentication.rb">restful-authentication</a> for this idea.
	</li>
</ol>
<p>So what do you think about this?</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Recursos del primer día del Taller!]]></title>
<link>http://crystalblood.wordpress.com/?p=21</link>
<pubDate>Tue, 23 Sep 2008 05:13:54 +0000</pubDate>
<dc:creator>crystalblood</dc:creator>
<guid>http://crystalblood.pt-br.wordpress.com/2008/09/23/recursos-del-primer-dia-del-taller/</guid>
<description><![CDATA[Para sorpresa de muchos, estuvieron nada más y nada menos que 40 personas inscriptas en un solo dí]]></description>
<content:encoded><![CDATA[<p>Para sorpresa de muchos, estuvieron nada más y nada menos que 40 personas inscriptas en un solo día!!!</p>
<p>Gracias a todos por participar y hacer de la jornada autentica con sus preguntas!</p>
<p>Aquí les dejo la diapositiva que utilizamos el primer día!</p>
<p>Links:</p>
<ul>
<li> <a href="http://filego.net/3Y8M3T8I4V89/Taller_de_Ruby_on_Rails_ETyC_22septiembre2008.ppt.html" target="_blank">Diapositiva :: Taller de Ruby On Rails Lunes 22 Septiembre 2008</a></li>
<li><a href="http://rapidshare.com/files/147611367/Taller_de_Ruby_on_Rails_ETyC_22septiembre2008.ppt.html" target="_blank">Diapositiva :: Taller de Ruby On Rails Lunes 22 Septiembre 2008</a></li>
<li><a href="http://files3.com/a36" target="_blank">Diapositiva :: Taller de Ruby On Rails Lunes 22 Septiembre 2008</a></li>
</ul>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Taller de Ruby On Rails :: ETyC 2008 :: FP-UNA]]></title>
<link>http://crystalblood.wordpress.com/?p=8</link>
<pubDate>Mon, 22 Sep 2008 04:30:18 +0000</pubDate>
<dc:creator>crystalblood</dc:creator>
<guid>http://crystalblood.pt-br.wordpress.com/2008/09/22/taller-de-ruby-on-rails-etyc-2008-fp-una/</guid>
<description><![CDATA[Se realizará un Taller de Ruby On Rails Gratuito en la ETyC (http://www.pol.una.py/etyc) que consis]]></description>
<content:encoded><![CDATA[<p>Se realizará un Taller de Ruby On Rails Gratuito en la ETyC (<a href="http://www.pol.una.py/etyc" target="_blank">http://www.pol.una.py/etyc</a>) que consiste en la Exposicion Tecnológica y Científica (22 al 26 de septiembre) que se realiza anualmente en la Facultad Politécnica.</p>
<blockquote><p><span style="color:#333399;"><em>Ruby on Rails, también conocido como RoR o Rails es un framework de aplicaciones web de código abierto escrito en el lenguaje de programación Ruby, siguiendo el paradigma de la arquitectura Modelo Vista Controlador (MVC). Trata de combinar la simplicidad con la posibilidad de desarrollar aplicaciones del mundo real escribiendo menos código que con otros frameworks y con un mínimo de configuración. El lenguaje de programación Ruby permite la metaprogramación, de la cual Rails hace uso, lo que resulta en una sintaxis que muchos de sus usuarios encuentran muy legible.</em></span><br />
<span style="color:#ff0000;"><span style="color:#800000;">URL:</span><strong> </strong></span><a title="http://es.wikipedia.org/wiki/Ruby_on_rails" href="http://es.wikipedia.org/wiki/Ruby_on_rails" target="_blank">http://es.wikipedia.org/wiki/Ruby_on_rails</a></p></blockquote>
<p>El Taller de Ruby On Rails será desde este lunes 22 al jueves 25 de septiembre desde las 19:00hs hasta las 20:00hs. en el Stand de Programación, aula B58 segundo piso.</p>
<p><span style="color:#ff0000;">Los interesados por favor enviar un E-Mail a <a href="mailto:dotech@dotech.com.py" target="_blank">dotech@dotech.com.py</a> a modo de inscripción, se expedirán certificados de asistencia.</span></p>
<p>Los Disertantes serán:</p>
<div style="margin-left:40px;">
<ul>
<li><strong>Bruno Duarte - Programador<br />
</strong></li>
<li><strong>Emilio Blanco - Gerente General de DoTech Software [<a href="http://www.dotech.com.py/" target="_blank">www.dotech.com.py</a>]</strong></li>
</ul>
</div>
<p>Un vistazo de lo que se estará tratando este lunes arrancando con el lenguaje de programación Ruby:</p>
<ul>
<li><strong>Clases y Objetos</strong>
<ul>
<li>Variables: locales, instancia, globales, self.</li>
<li>Visibilidad  de metodos: Private, Public, Protected.</li>
<li>Constructores</li>
<li>Como  instanciar.</li>
<li>Metodos</li>
<li>Como pasar parametros</li>
<li>Como devolver datos</li>
</ul>
</li>
<li><strong>Tipos  de  Datos</strong>
<ul>
<li>Integers</li>
<li>Strings</li>
<li>Simbols</li>
<li>Constantes</li>
<li>Array's</li>
<li>Hash's</li>
</ul>
</li>
<li><strong>Condiciones  y Flujo de Programa</strong>
<ul>
<li>Condiciones if, case, unless</li>
<li>Ciclos: for, each,  while</li>
<li>Bloques de Codigo</li>
<li>Operaciones</li>
<li>Concatenaciones</li>
<li>Aritmetica</li>
</ul>
</li>
</ul>
<p>Te esperamos!</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Usando Git en Ruby on Rails]]></title>
<link>http://innetra.wordpress.com/?p=11</link>
<pubDate>Fri, 19 Sep 2008 20:05:32 +0000</pubDate>
<dc:creator>Ivan Torres</dc:creator>
<guid>http://innetra.pt-br.wordpress.com/2008/09/19/usando-git-en-ruby-on-rails/</guid>
<description><![CDATA[Git es un sistema para control de versiones que se caracteriza por su gran rapidez y eficiencia. Fue]]></description>
<content:encoded><![CDATA[<p>Git es un sistema para control de versiones que se caracteriza por su gran rapidez y eficiencia. Fue desarrollado por Linus Torvalds y es muy popular en la comunidad de fuente abierta (OpenSource). Actualmente se usa como plataforma de desarrollo en proyectos como Linux Kernel, Ruby on Rails, Wine, etc.</p>
<p>Nosotros usamos Git para administrar el código fuente de nuestros proyectos en Ruby on Rails. Así que aquí les pasamos la receta de como crear su propio repositorio local:</p>
<p>1. Primero creamos nuestro proyecto de RoR (Ruby on Rails):<br />
<code><br />
$ rails -d mysql nuevo_proyecto<br />
</code></p>
<p>El generador de aplicaciones de RoR creará un nuevo directorio con el nombre de nuestro proyecto. En nuestro caso "nuevo_proyecto". Entramos en el y continuamos con el resto del proceso.</p>
<p>2. Debido a que <strong>Git no considera a los directorios vacios</strong> tenemos que hacer un truco para que considere los directorios necesarios para el correcto funcionamiento de nuestra aplicación:<br />
<code><br />
$ touch db/.gitignore lib/.gitignore log/.gitignore tmp/.gitignore vendor/.gitignore<br />
</code></p>
<p>3. Crea un nuevo archivo .gitignore en el directorio raiz de tu aplicación con el siguiente contenido:<br />
<code><br />
log/*<br />
tmp/*<br />
db/schema.rb<br />
db/*.sqlite3<br />
</code></p>
<p>4. Ahora inicializamos nuestro repositorio local con Git:<br />
<code><br />
$ git init<br />
</code></p>
<p>5. Añadimos los archivos del proyecto:<br />
<code><br />
$ git add .<br />
</code><br />
Cada vez que creamos un archivo, para que este sea incluido en el repositorio es necesario correr este comando.</p>
<p>6. Finalmente, ingresamos los cambios al repositorio:<br />
<code><br />
$ git commit -a<br />
</code></p>
<p>Inmediatamente después Git va a mostrar el editor por defecto para que coloquemos el mensaje de la nueva versión. Por convención, la primera linea es el título de la nueva versión y las siguientes serían como una descripción de la aplicación. En Ubuntu, Git por defecto carga Vim como editor para capturar el mensaje.</p>
<p>Otra opción es capturar el mensaje desde el mismo commando:<br />
<code><br />
$ git commit -a -m "Importación de archivos inicial"<br />
</code></p>
<p>Y listo! Construiste tu repositorio local para tu aplicación de Ruby on Rails.</p>
<p><strong>Referencias:</strong><br />
<a href="http://www.ruby-lang.org/es/">Lenguaje Programación Ruby</a><br />
<a href="http://www.rubyonrails.org/">Ruby on Rails</a> (Inglés, el sitio en español está muy desactualizado)<br />
<a href="http://www.rubyonrails.org.es/">Ruby on Rails</a> (Español)<br />
<a href="http://git.or.cz/">Git – Fast Version Control System</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Update for Tonight: Toronto RoR Project Night Returns]]></title>
<link>http://correlations.wordpress.com/?p=119</link>
<pubDate>Fri, 19 Sep 2008 15:50:26 +0000</pubDate>
<dc:creator>correlations</dc:creator>
<guid>http://correlations.pt-br.wordpress.com/2008/09/19/update-for-tonight-toronto-ror-project-night-returns/</guid>
<description><![CDATA[Tonight marks the return of the Toronto Ruby on Rails Project Night. For those attending, remember ]]></description>
<content:encoded><![CDATA[<p>Tonight marks the return of the Toronto Ruby on Rails Project Night. For those attending, remember that tonight's event will be held at the <a title="RMI" href="http://www.richmediainstitute.com/contact/toronto" target="_blank">Rich Media Institute</a>, located at 156 August Avenue, Toronto. We'll begin at 6pm, so please arrive promptly and be sure to bring your presentation ideas for future project nights!</p>
<p>Here's <strong>a quick update from our presenter </strong><a title="Paul Doerwald" href="http://pauldoerwald.ca/" target="_blank"><strong>Paul Doerwald</strong></a><strong>:</strong></p>
<p>"<em>Programmers generally hate writing documentation. That's because most documentation is kept separate from the code and becomes hard to keep up-to-date. Besides violating the DRY principle... it can lead to misleading documentation, which is generally worse than none at all." [Subramaniam/Hunt '06]. Why do developers hate writing documentation, and why do stakeholders and managers keep requiring it? Is there agile documentation beyond inline API documentation (JavaDoc, RDoc, etc.) and comments in the code? What parts of a project deserve separate-from-code documentation? How do we identify them, capture them, and keep them relevant? </em></p>
<p><em>Tonight's Toronto Ruby on Rails Project Night presentation discusses the problem of documentation, explores some key aspects to consider when writing effective  documentation, and dreams of a future of testable, executable documentation, where non-code knowledge could be integrated into your code.</em>"</p>
<p> </p>
<p>We will also be joined by<strong> </strong><a title="James Robertson Bio" href="http://www.cincomsmalltalk.com/blog/blogView?content=bio" target="_blank"><strong>James Robertson</strong></a><strong>, Cincom Smalltalk Product Evangelist, who is on a ‘Canadian Tour’ looking at Seaside and WebVelocity</strong>:</p>
<p><em>WebVelocity is a new Smalltalk Development Environment that is oriented around Seaside for Web Development and Glorp for Object/Relatonal Mapping. Come and see how WebVelocity re-targets the Smalltalk development experience into the Web Browser and simplifies the challenge of learning a new environment for newcomers. We’ll even build an entire application using Active Record and Scaffolding during the presentation, with minimal programming. If you’re a fan of Ruby on Rails, you need to come out and see this presentation!</em></p>
<p>Thanks to everyone who has already RSVP'd - <strong>we have a few spots left</strong> for tonight's event, please email me at corecorina@hotmail.com right away if you are interested in attending!</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Time to do things properly...]]></title>
<link>http://spoonsta.wordpress.com/?p=3</link>
<pubDate>Mon, 15 Sep 2008 10:24:00 +0000</pubDate>
<dc:creator>spoonsta</dc:creator>
<guid>http://spoonsta.pt-br.wordpress.com/2008/09/15/welcome-to-my-blog/</guid>
<description><![CDATA[Welcome to my first ever blog, my name is David Fitzgibbon, I&#8217;m a Ruby on Rails developer and ]]></description>
<content:encoded><![CDATA[<p>Welcome to my first ever blog, my name is David Fitzgibbon, I'm a <a title="Ruby on Rails" href="http://www.rubyonrails.org/" target="_blank">Ruby on Rails</a> developer and I am riddled with bad programming habits. I never write tests, I often make changes to live systems, and don't test them, I botch without hesitation. In fact, all the things the RoR community scathe upon, I do!</p>
<p>I've spent the last year developing Facebook applications, I got in right at the beginning, making <a title="Facebook Fantasy Football" href="http://apps.facebook.com/fantasy_footy" target="_blank">Fantasy Football</a> which became very big, very quickly, going from 0-150,000 users in a month. I had to learn how to scale, I had to fix bugs, add features, all while 1000s of users where stepping on eachother trying to get on, and I picked up more bad habits along the way.</p>
<p>I am starting this blog as I am about to start a new project, and I'm determined to do things properly. Why the sudden change in attitude? Its because this is MY project, there's no customer pacing up and down waiting for delivery, there's no project manager going grey worrying about missing deadlines.</p>
<p>I am setting myself an informal deadline of Christmas 2008, it could be late, it could be early, it doesn't matter, I just want to do it properly, that means employing test-driven development, using subversion properly and frequently, using Capistrano for deployment, and anything else that has become common practice in the time when I have ignored all the rules.</p>
<p>I will try and write down my experiences on here, and hopefully at the end of it I'll be a better programmer, and will preach to all about the benefits of 'doing things properly'!</p>
<p>p.s. The project is called Spoonsta, more will be revealed over time. As well as that, you may get occasional rants about Facebook development, and the odd drunken Everton match report.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Element nyckel]]></title>
<link>http://incaprettamento.wordpress.com/?p=13</link>
<pubDate>Fri, 12 Sep 2008 10:17:38 +0000</pubDate>
<dc:creator>incaprettamento</dc:creator>
<guid>http://incaprettamento.pt-br.wordpress.com/2008/09/12/element-nyckel/</guid>
<description><![CDATA[Hej,
värmen är nu igång i huset, då värmen är vattenbaserad så är det viktigt att man då oc]]></description>
<content:encoded><![CDATA[<p>Hej,</p>
<p>värmen är nu igång i huset, då värmen är vattenbaserad så är det viktigt att man då och då luftar elementen i sin lägenhet. Detta görs förslagsvis så snart som möjligt och sedan lite längre fram under vintern, detta borde vara tillräckligt om inte så får man lufta igen när man märker att delar av elementet är kallt eller om det rinner i något av elementen. Jag har hängt en element nyckel på anslagstavlan i hallen som ni kan använda er av när ni behöver lufta era element. När ni är klara med detta så häng gärna tillbaka nyckeln igen på samma ställe så att eran granne kan använda denna.</p>
<p>När ni luftar ett element säkerställ att ni har ett glas eller liknande under ventilen så att det inte rinner vatten på golvet när ni har fått ut luften. Återkom till mig om ni vill att jag visar hur man gör eller om ni har några problem med elementen.</p>
<p>Mvh</p>
<p>Andreas</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Why Ruby on Rails use for Applications Development]]></title>
<link>http://expertdevelopers.wordpress.com/?p=35</link>
<pubDate>Wed, 10 Sep 2008 12:27:38 +0000</pubDate>
<dc:creator>efindia</dc:creator>
<guid>http://expertdevelopers.pt-br.wordpress.com/2008/09/10/why-ruby-on-rails-use-for-applications-development/</guid>
<description><![CDATA[The open source programmers are common in line with the global business environment is the last numb]]></description>
<content:encoded><![CDATA[<p align="justify">The open source programmers are common in line with the global business environment is the last number of years and show its presence in the rapidly changing web development speeds because of regular innovation in information technologies. Web development companies globally provide solutions to complex problems of business needs using latest web 2.0 technology like Ruby on Rails.</p>
<p align="justify"><strong>Ruby on Rails</strong><a href="http://expertdevelopers.wordpress.com/files/2008/09/rails.jpg"><img class="alignright size-full wp-image-4" title="rails" src="http://expertdevelopers.wordpress.com/files/2008/09/rails.jpg" alt="" width="87" height="112" /></a></p>
<p align="justify">Ruby on Rails is an open-source program among the most popular online businesses in the web technology to solve a wide range of problems. Ruby on Rails is a open source development framework based on model view MVC coded in Ruby language and providing user-friendly features that may critical issues for companies to solve. MVC is the best architecture to categorize in accordance with the request. Rails support databases like MySQL, PostgreSQL, SQLite, SQL Server, DB2 and Oracle.</p>
<p align="justify"><strong>Benefits of using <a title="ROR Application Development" href="http://www.expertsfromindia.com/hire-ruby-on-rails-developers-programmers.htm" target="_self">ROR application development </a></strong></p>
<ul>
<li>Open-source system freely      available on the Web</li>
<li>It is entirely appropriate      for the development of business applications</li>
<li>It will be used to accelerate      and simplify the creation of Web pages flowing through databases</li>
<li>Very appropriate for the      construction of enterprise applications</li>
<li>It can manage users and roles      for the site</li>
<li>Using the ROR user can      assemble and manage user’s comments</li>
<li>help to create the templates      and the generation of migration for tables</li>
<li>Using the ROR to improve the      accessibility of AJAX</li>
<li>Provides administration      interfaces development solutions</li>
<li>Helps on application deployment      on production server</li>
</ul>
<p align="justify"><a href="http://www.expertsfromindia.com/hire-ruby-on-rails-developers-programmers.htm" target="_self">Ruby on Rails application development</a></p>
<p align="justify">ExpertsFromIndia offers its experience to build interactive, innovative &#38; efficient Ruby on Rails solutions for its clients. We are working on open source projects in application development for the last many years and providing professional IT solutions to clients. Our developers are providing offshore services on Ruby on rails projects for our clients at successful rate with professional expertise.</p>
<p align="justify">Many companies are working on ROR development and have good experience to build an interactive, innovative and effective Ruby on Rails solutions to its customers. If you want to build or customize the ruby on rails application for your business then you must check that how many years of experience the company has on open source application development and what are the provision of IT solutions to their customers.</p>
<p align="justify">One company that I can refer you is Experts From India (if you want to outsource software development), where you can <a title="Ruby on Rails developer" href="http://www.expertsfromindia.com/hire-ruby-on-rails-developers-programmers.htm" target="_self">hire dedicated Ruby on Rails developer</a> on hourly or monthly rate. Expert From India developers are providing services to the offshore Ruby on Rails projects in the success of their customers with the number of professional experience and they can perform the following services on Ruby on Rails application development:</p>
<ul>
<li>Installing, configuring, and      testing for web applications on ROR</li>
<li>Establishment of application      and a database like MySQL, PostgreSQL, SQLite, Oracle, SQL Server, DB2, or      any other of the many systems</li>
<li>We are working on <strong>Agile development methods</strong> to      provide our customers with projects, and continued attention to technical      excellence, a good design, simplicity and self-organizing teams,      adaptation monitor the evolution of the situation</li>
</ul>
<p><a href="http://del.icio.us/post?url=http://expertdevelopers.wordpress.com/2008/09/10/why-ruby-on-rails-use-for-applications-development/;title=Why Ruby on Rails use for Applications Development"><img src="http://simontoffel88.googlepages.com/delicious.gif" alt="add to del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&#38;url=http://expertdevelopers.wordpress.com/2008/09/10/why-ruby-on-rails-use-for-applications-development/"><img src="http://simontoffel88.googlepages.com/digg.gif" alt="Digg it" /></a> <a href="http://reddit.com/submit?url=http://expertdevelopers.wordpress.com/2008/09/10/why-ruby-on-rails-use-for-applications-development/;title=Why Ruby on Rails use for Applications Development"><img src="http://simontoffel88.googlepages.com/reddit.gif" alt="" /></a> <a href="http://www.stumbleupon.com/submit?url=http://expertdevelopers.wordpress.com/2008/09/10/why-ruby-on-rails-use-for-applications-development/&#38;title=Why Ruby on Rails use for Applications Development"><img src="http://simontoffel88.googlepages.com/stumbleit.gif" alt="Stumble It!" /></a> <a href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&#38;Description=&#38;Url=http://expertdevelopers.wordpress.com/2008/09/10/why-ruby-on-rails-use-for-applications-development/;Title=Why Ruby on Rails use for Applications Development"><img src="http://simontoffel88.googlepages.com/blinklist.gif" alt="Add to Blinkslist" /></a> <a href="http://www.furl.net/storeIt.jsp?u=http://expertdevelopers.wordpress.com/2008/09/10/why-ruby-on-rails-use-for-applications-development/;t=Why Ruby on Rails use for Applications Development"><img src="http://simontoffel88.googlepages.com/furl.gif" alt="add to furl" /></a> <a href="http://ma.gnolia.com/bookmarklet/add?url=http://expertdevelopers.wordpress.com/2008/09/10/why-ruby-on-rails-use-for-applications-development/;title=Why Ruby on Rails use for Applications Development"><img src="http://simontoffel88.googlepages.com/magnolia.gif" alt="add to ma.gnolia" /></a> <a href="http://www.simpy.com/simpy/LinkAdd.do?url=http://expertdevelopers.wordpress.com/2008/09/10/why-ruby-on-rails-use-for-applications-development/;title=Why Ruby on Rails use for Applications Development"><img src="http://simontoffel88.googlepages.com/simpy.png" alt="add to simpy" /></a> <a href="http://www.newsvine.com/_tools/seed&#38;save?url=http://expertdevelopers.wordpress.com/2008/09/10/why-ruby-on-rails-use-for-applications-development/;title=Why Ruby on Rails use for Applications Development"><img src="http://simontoffel88.googlepages.com/newsvine.gif" alt="seed the vine" /></a> <a title="TailRank" href="http://tailrank.com/share/?text=&#38;link_href=http://expertdevelopers.wordpress.com/2008/09/10/why-ruby-on-rails-use-for-applications-development/&#38;title=Why Ruby on Rails use for Applications Development"><img src="http://simontoffel88.googlepages.com/tailrank.gif" alt="TailRank" /></a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[first Rails Aplication]]></title>
<link>http://patelraj.wordpress.com/?p=44</link>
<pubDate>Tue, 09 Sep 2008 07:08:31 +0000</pubDate>
<dc:creator>raj</dc:creator>
<guid>http://patelraj.pt-br.wordpress.com/2008/09/09/first-rails-aplication/</guid>
<description><![CDATA[Ror First application on rails 2.0
1. rails &#8211;database mysql hello
or rails -d mysql hello
2. c]]></description>
<content:encoded><![CDATA[<p>Ror First application on rails 2.0<br />
1. rails --database mysql hello<br />
or rails -d mysql hello<br />
2. create manually database on mysql<br />
or rake db:create:all<br />
3. ruby script/generate controller say hello</p>
<p>4. ruby script/server<br />
5. type on http://localhost:3000/say/hello</p>
<p>for cearting table<br />
script/generate scaffold Post title:string body:text<br />
rake db:migrate</p>
<p>Steps<br />
- rails -d mysql test<br />
-cd test<br />
----manuially set the dtabase usernamr and pwd in database.yml file<br />
-rake db:create:all<br />
-ruby script/server (starting the server)<br />
-ruby script/generate scaffold Movie title:string (for table cration)<br />
-rake db:migrate</p>
<p>==for mongrel server<br />
service mongrel_cluster restart<br />
script/server --help<br />
service nginx start</p>
<p>for including file<br />
rendre:partial "path";<br />
render(:partial =&#62; '/controls/footer')</p>
<p>for mongrel server steps</p>
<p>==start<br />
1. copy mongrel_cluster.yml into config<br />
changes that<br />
2. insert some code in etc/ngix/*.conf<br />
in that<br />
upstream hello.rajesh {<br />
server 127.0.0.1:8005;<br />
}<br />
and<br />
server {<br />
listen       81;<br />
server_name  hello.rajesh;</p>
<p>root /sites/hello/public;</p>
<p>#charset koi8-r;</p>
<p>access_log  /var/log/nginx/hello.access.log  main;</p>
<p>location ~ ^/$ {<br />
if (-f /index.html){<br />
rewrite (.*) /index.html last;<br />
}<br />
proxy_pass  http://hello.rajesh;<br />
}</p>
<p>location / {<br />
if (!-f $request_filename.html) {<br />
proxy_pass  http://hello.rajesh;<br />
}<br />
rewrite (.*) $1.html last;<br />
}</p>
<p>location ~ .html {<br />
root /sites/hello/public;<br />
}</p>
<p>location ~* ^.+\.(jpg&#124;jpeg&#124;gif&#124;png&#124;ico&#124;css&#124;zip&#124;tgz&#124;gz&#124;rar&#124;bz2&#124;doc&#124;xls&#124;exe&#124;pdf&#124;ppt&#124;txt&#124;tar&#124;mid&#124;midi&#124;wav&#124;bmp&#124;rtf&#124;js&#124;mov)$ {<br />
root /sites/hello/public;<br />
}</p>
<p>location / {<br />
proxy_pass  http://hello.rajesh;<br />
proxy_redirect     off;<br />
proxy_set_header   Host             $host;<br />
proxy_set_header   X-Real-IP        $remote_addr;<br />
proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;<br />
}</p>
<p>}</p>
<p>3. ln -s /sites/hello/config/mongrel_cluster.yml /etc/mongrel_cluster/hello.yml<br />
4. chown -R mongrel:mongrel /sites/hello<br />
==end<br />
for creating only model and table<br />
ruby script/generate model images_imagecategories image_id:integer imagecategories_id:integer<br />
ruby script/generate model imagecategories_images images_id:integer imagecategories_id:integer</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Web Application Development using PHP, ASP.Net and RoR]]></title>
<link>http://hirewebdevelopers.wordpress.com/?p=3</link>
<pubDate>Mon, 08 Sep 2008 12:18:31 +0000</pubDate>
<dc:creator>hirewebdevelopers</dc:creator>
<guid>http://hirewebdevelopers.pt-br.wordpress.com/2008/09/08/web-application-development-using-php-aspnet-and-ror/</guid>
<description><![CDATA[HiddenBrains InfoTech, India has the extensive expertise, experience and resources to deliver full s]]></description>
<content:encoded><![CDATA[<p>HiddenBrains InfoTech, India has the extensive expertise, experience and resources to <strong>deliver full spectrum of <a href="http://www.hiddenbrains.com/">Web Application Development </a>Services</strong> : Software applications, Web application or Custom application -that best suit our client's needs, budget, schedule.</p>
<p><a href="http://www.hiddenbrains.com/software-development-india.html">PHP</a>, <a href="http://www.hiddenbrains.com/asp-dotnet-programming-development-india.html">ASP.Net</a>,<a href="http://www.hiddenbrains.com/ecommerce-solutions-india.html"> Ecommerce Solutions</a>, Web Application Development Outsourcing Company in India, offering IT software services. Expertise in PHP (hypertext preprocessor) and <a href="http://www.hiddenbrains.com/asp-dotnet-programming-development-india.html">Microsoft .Net Framework</a> and with the time we have extended our services to XML, <a href="http://www.hiddenbrains.com/ajax-development-ajax-programming-india.html">AJAX</a>, <a href="http://www.hiddenbrains.com/open-source-customization.html">Open Source</a>, CakePHP, <a href="http://www.hiddenbrains.com/lamp-linux-apache-mysql-php-programming-services.html">LAMP</a>(Linux,Apache,Mysql,PHP), <a href="http://www.hiddenbrains.com/ruby-on-rails-development.html">Ruby on Rails (RoR)</a>, <a href="http://www.hiddenbrains.com/coldfusion-development-india.html">ColdFusion</a>.</p>
<p><strong><a href="http://www.hiddenbrains.com/rich_internet_applications_india.html">Applications Development Services</a>:</strong></p>
<div class="midd-content">
<ul>
<li><a href="http://www.hiddenbrains.com/application-development/custom_application_development_india.html">Custom Application Development</a></li>
<li>Existing application maintenance and enhancement</li>
<li>Application migration</li>
<li><a href="http://www.hiddenbrains.com/application-development/web_application_development_india.html">Web Application Development</a></li>
<li>Portal Application Development</li>
<li>Inventory Management and Content Management Tools</li>
<li><a href="http://www.hiddenbrains.com/ecommerce-design-development-india/shopping-cart-solution-india.html">E-Commerce/Shopping Cart and Customer Service Applications</a></li>
<li>Adverting Tracking, Subscription Management, Survey/Poll, classified, guestbook, calendar, message boards, job boards</li>
</ul>
</div>
<p>Our <a href="http://www.hiddenbrains.com/hire-a-programmer-hire-a-dedicated-developer-hire-a-web-developer-india.html">dedicated team </a>has a unique combination of technical expertise, functional knowledge base, result oriented management and extensive experience. We believe in developing long lasting business solution rather than just developing an application, which satisfies your needs for short period. <strong>Web Applications &#38; Software application development</strong> at <a href="http://www.hiddenbrains.com/">HiddenBrains </a>are robust, scalable and secure.</p>
<p><a href="http://www.hiddenbrains.com/contact-us.html"><strong>Contact Us</strong></a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Rails Image Editor]]></title>
<link>http://railsvoice.wordpress.com/?p=3</link>
<pubDate>Mon, 08 Sep 2008 04:48:30 +0000</pubDate>
<dc:creator>heurionconsulting</dc:creator>
<guid>http://railsvoice.pt-br.wordpress.com/2008/09/08/rails-image-editor/</guid>
<description><![CDATA[


INTRODUCTION

Rails Ajax Image Editor is an ajaxified  application for image manipulation using R]]></description>
<content:encoded><![CDATA[<div class="entry">
<div class="snap_preview">
<p align="left">
<address><span style="font-size:12pt;"><span style="text-decoration:underline;"><strong>INTRODUCTION<br />
</strong></span></span></address>
<address><span style="font-size:10pt;">Rails Ajax Image Editor is an ajaxified  application for image manipulation using Rails technologies. This application  has been derived from Peter Frueh (<a href="http://www.ajaxprogrammer.com/">http://www.ajaxprogrammer.com</a>) which  originally existed in PHP. The PHP application has been modified to support  Rails framework by Heurion Consulting (<a href="http://www.heurionconsulting.com/">http://www.heurionconsulting.com</a>)  for the benefit of the Rails programmers to extend this application. </span></address>
<address></address>
<address><span style="font-size:10pt;">The original application is available at </span></address>
<address><span style="font-size:10pt;"><a href="http://ajaxian.com/archives/open-source-php-based-ajax-image-editor">http://ajaxian.com/archives/open-source-php-based-ajax-image-editor</a><span> </span>for use</span></address>
<address></address>
<address><span style="font-size:10pt;">The features supported by this  application are: </span></address>
<ul>
<li>
<address><span style="font-size:10pt;">Loading an temporary image (which already  exists in our server)</span></address>
</li>
<li>
<address><span style="font-size:10pt;">Perform Image cropping (using a crop  area)</span></address>
</li>
<li>
<address><span style="font-size:10pt;">Perform Image Resize (with and without  constraints)</span></address>
</li>
<li>
<address><span style="font-size:10pt;">Perform Rotation (90 degrees CW and CCW  )</span></address>
</li>
<li>
<address><span style="font-size:10pt;">Save image</span></address>
</li>
<li>
<address><span style="font-size:10pt;">View Saved image </span></address>
</li>
<li><span style="font-size:10pt;">View Original Image</span></li>
</ul>
<address></address>
<address><span style="font-size:12pt;"><span style="text-decoration:underline;"><strong>TECHNOLOGY<br />
</strong></span></span></address>
<address><span style="font-size:10pt;">This application has been built by and  for Ruby on Rails Technology enthusiasts and also involves the following  technologies:</span></address>
<ul>
<li>
<address><span style="font-size:10pt;">Ajax</span><span style="font-size:10pt;"> for postback activity</span></address>
</li>
<li>
<address><span style="font-size:10pt;">JSON(JavaScript object notation) for  updating JavaScript image<br />
</span></address>
</li>
<li>
<address><span style="font-size:10pt;">Rmagick for the image manipulation. </span></address>
</li>
</ul>
<address></address>
<address><span style="font-size:12pt;"><span style="text-decoration:underline;"><strong>CREDITS<br />
</strong></span></span></address>
<address><span style="font-size:10pt;">We would like to credit Mr. Peter Frueh  (<a href="http://www.ajaxprogrammer.com/">http://www.ajaxprogrammer.com</a>) for  having developed this application and also providing us the opportunity to  modify the code to suit the Ruby on Rails needs.</span></address>
<address><span style="font-size:10pt;">All credits of Java Script and CSS code  belongs to Peter where as all Code of Ajaxification and Ruby on Rails Codes  shall belong to Heurion Consulting (<a href="http://www.heurionconsulting.com/">http://www.heurionconsulting.com</a>).</span></address>
<address></address>
<address><span style="font-size:10pt;">This code is under LGPL license and you  are allowed to do any modifications or extension to this code to suit your  requirements. However you are not allowed to change the credits of either Mr.  Peter Frueh (<a href="http://www.ajaxprogrammer.com/">http://www.ajaxprogrammer.com</a>) or  Heurion Consulting (<a href="http://www.heurionconsulting.com/">http://www.heurionconsulting.com</a>)  and they shall remain always.</span></address>
<address></address>
<address><span style="font-size:10pt;">This library is free software. You can  redistribute it and/or modify it under the terms of the GNU Lesser General  Public License as published by the Free Software Foundation; either version 2.1  of the License, or (at your option) any later version.</span></address>
<address><span style="font-size:10pt;">This library is distributed in the hope  that it will be useful, but <span style="color:#3366ff;">WITHOUT ANY WARRANTY</span>;  without even the implied warranty of <span style="color:#3366ff;">MERCHANTABILITY or  FITNESS FOR A PARTICULAR PURPOSE</span>.<span> </span>See the GNU Lesser General  Public License for more details.</span></address>
<address></address>
<address><span style="font-size:12pt;"><span style="text-decoration:underline;"><strong><br />
</strong></span></span><br />
</address>
<address><span style="font-size:12pt;"><span style="text-decoration:underline;"><strong>DOWNLOAD AND SETUP<br />
</strong></span></span></address>
<ul>
<li>
<address><span style="font-size:10pt;">Currently the wordpress does not give the  option to download the Zip file. To receive the source code, please send an  E-Mail to <a href="mailto:info@heurionconsulting.com">info@heurionconsulting.com</a></span></address>
</li>
<li>
<address><span style="font-size:10pt;">Unzip the source file to a  suitable location</span></address>
</li>
<li>
<address><span style="font-size:10pt;">Run “ruby script/server”  (for windows) or ./script/server (for others)</span></address>
</li>
</ul>
<address></address>
<address><span style="font-size:12pt;"><span style="text-decoration:underline;"><strong><br />
Code  Walkthrough<br />
</strong></span></span></address>
<address><span style="font-size:10pt;">The main parts of the application are  javascripts and the ruby controller. The notable files are explained as  follows:</span></address>
<ul>
<li>
<address><span style="font-size:10pt;"><span style="color:#3366ff;"><strong>ImageEditor.js</strong></span> – Contains all the code that is  necessary to do the image manipulations activity and also to send the post back  to the server. This code uses Ajax.Request method to send data to the server.  Also the Response is a JSON object which is used to update the client JavaScript  image object.</span></address>
</li>
<li>
<address><span style="font-size:10pt;"><span style="color:#3366ff;"><strong>PageInfo.js</strong></span> – Helper code for tracking mouse  position, used to provide JavaScript Crop border.</span></address>
</li>
<li>
<address><span style="font-size:10pt;"><span style="color:#3366ff;"><strong>Imagecontroller_controller.rb</strong></span> – Contains all server  code where image manipulation is performed using RMagick and the resulting  images are stored and picked from the respective (edit / active / original)  folders.</span></address>
</li>
</ul>
<address><span style="font-size:10pt;">Image Editor JavaScript uses Ajax.Request  object to send all the information required for the modification of the image to  the server. Along with the request all the parameters that are required to  perform necessary image manipulation are sent. Once the server performs the  operation and sends back the new results they are cached and the image is  updated using JSON. </span></address>
<address></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">newAjax.Request(’/imagecontroller/processImage’,</span><span style="font-size:10pt;font-family:Verdana;color:#3366ff;"><span> </span>{</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">synchronous:true,  onSuccess: function(request)</span><span style="font-size:10pt;font-family:Verdana;color:#3366ff;"> {</span><span style="font-size:10pt;font-family:Verdana;color:#3366ff;"><span> </span>if (request.readyState == 4 </span><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">{</span> <span style="font-size:10pt;font-family:Verdana;color:#3366ff;">var  json = eval(”(” + request.responseText + “)”);</span> <span style="font-size:10pt;font-family:Verdana;color:#3366ff;">if  (json.imageFound) </span><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">{</span> <span style="font-size:10pt;font-family:Verdana;color:#3366ff;">ImageEditor.imageName  = json.imageName;</span> <span style="font-size:10pt;font-family:Verdana;color:#3366ff;">ImageEditor.w  = json.w</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">ImageEditor.h  = json.h;</span> <span style="font-size:10pt;font-family:Verdana;color:#3366ff;">ImageEditor.loaderImage.setAttribute(”src”,  “/images/edit/”+json.imageName);</span> <span style="font-size:10pt;font-family:Verdana;color:#3366ff;">} </span><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">else </span><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">{</span> <span style="font-size:10pt;font-family:Verdana;color:#3366ff;">document.getElementById(”ImageEditorImage”)</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">.innerHTML  =</span><span style="font-size:10pt;font-family:Verdana;color:#3366ff;"><span> </span>‘&#60;span style=”font-<span> </span>size:12px;</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">color:red;”&#62; </span><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">Image  was not found.&#60;/span&#62;’;</span> <span style="font-size:10pt;font-family:Verdana;color:#3366ff;">}</span> </address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">} </span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">},parameters:”imageName=”  + ImageEditor.imageName + ((args) ? </span><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">“&#38;”  + args : “”)</span> </address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">})</span></address>
<address></address>
<address><span style="font-size:10pt;"><span style="color:#3366ff;">JSON(Java Script  Object Notation)</span> allows us to represent complex objects in a format that  can be easily parsed by the JavaScript interpreter. Once parsed, these objects  can be interacted with ordinary JavaScript objects, with much less overhead than  their XML counterparts. The downside of using JSON is that it is only understood  by JavaScript interpreters, and therefore few server-side systems will have the  ability to speak JSON easily. Thus, generating the data on the server will  typically involve more overhead. Whichever format of data we choose, adopting a  data-centric approach will require us to write some extra code to parse the  response and decide what to do with it. Once the data to do the image  manipulation is transferred in to the server we can utilize the RMagick  supported by Ruby to perform operations of the image. </span></address>
<address></address>
<address><span style="font-size:10pt;"><strong>P.S:</strong> After each  operation we save the image into a new name so that the new name  is<span> </span>recognized by the html image tag and resets /  updates to the new image.</span></address>
<address><span style="font-size:10pt;">Henceforth on every modification we add a  time stamp to the image name differentiates the old image with the new  image.</span></address>
<address></address>
<address><strong><span style="font-size:10pt;"><span style="color:#3366ff;">Part A: Initial  Preperations</span></span></strong></address>
<address><span style="font-size:10pt;">Before implementing the image, we have to  setup initial preparations which are required to do the rest of the image  operation. Some of them are identifying active / edit/ original directories,  identifying the old and new image names. The following code snippets provides  insight about each operation achieved inside the controller:</span></address>
<address><span style="text-decoration:underline;"><span style="font-size:10pt;"><span style="color:#3366ff;"><strong>Code  Snippet:</strong></span></span></span></address>
<address><span style="font-size:10pt;">#Registering rmagick</span></address>
<address><span style="font-size:10pt;">Either in the environment.rb file or on  the start of the controller / model you can register the rmagick by  using</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">require  ‘rmagick’</span><br />
</address>
<address></address>
<address><span style="font-size:10pt;">#Create the  directories</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">originalDirectory  = “#{RAILS_ROOT}/public/images/original/”</span><span style="font-size:10pt;font-family:Verdana;color:#3366ff;"><span> </span>activeDirectory = “#{RAILS_ROOT}/public/images/active/”</span><span style="font-size:10pt;font-family:Verdana;color:#3366ff;"><span> </span>editDirectory = “#{RAILS_ROOT}/public/images/edit/”</span> </address>
<address></address>
<address></address>
<address><span style="font-size:10pt;">#Identify the original Image  name</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">imageName =  ‘parrots.jpg’</span> </address>
<address></address>
<address><span style="font-size:10pt;">#Prepare the new image  name</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">extn =  imageName.split(’.').last</span> </address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">newimagename  = imageName.gsub(/.jpg/,”)</span></address>
<address></address>
<address></address>
<address><span style="font-size:10pt;">#new image name </span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">@image2Name = newimagename +”_”+  Time.now.to_i.to_s+”.”+extn</span></span></address>
<address></address>
<address><span style="font-size:10pt;">#identify what action to be  performed</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">action = params[:actiontype]</span></span></address>
<address></address>
<address><strong><span style="font-size:10pt;"><span style="color:#3366ff;">Part B: Final  Preperations</span></span></strong></address>
<address><span style="font-size:10pt;">Once the images are ready and saved we  have to update the javascript with these images. The controller shall get all  information of the processed image and sends it to its corresponding view to  prepare the JSON object.</span></address>
<address><span style="text-decoration:underline;"><span style="font-size:10pt;"><span style="color:#3366ff;">Code  Snippet:</span></span></span></address>
<address></address>
<address><strong><span style="font-size:10pt;"><span style="color:#3366ff;">Controller</span></span></strong></address>
<address><span style="font-size:10pt;">#check if the new image is saved, if not  then replace the old image name to be the #new image. This occurs for View  original and view active cases.</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">unless  File.exists?(File.join(editDirectory,@image2Name))</span></span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">@image2Name =  imageName</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">end</span></span></address>
<address></address>
<address><span style="font-size:10pt;">#get the image and it positions and  serialize them to the view<span> </span></span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">img =  with_image()</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">@w=  img.columns</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">@h=  img.rows</span></address>
<address></address>
<address></address>
<address><strong><span style="font-size:10pt;"><span style="color:#3366ff;">View</span></span></strong></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">{imageFound:true,imageName:”&#60;%= @image2Name %&#62;”,x:&#60;%= @x  %&#62;,y:&#60;%= @y %&#62;,w:&#60;%= @w %&#62;,h:</span></span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">&#60;%= @h %&#62;}</span></span></address>
<address></address>
<address><span style="font-size:10pt;"><strong><span style="color:#3366ff;">JSON  Variables</span></strong></span></address>
<ul>
<li>
<address><span style="font-size:10pt;">ImageFound : Boolean test that the view  was called</span></address>
</li>
<li>
<address><span style="font-size:10pt;">ImageName: Holds the new image  name</span></address>
</li>
<li>
<address><span style="font-size:10pt;">X: top left- x position of the new  image</span></address>
</li>
<li>
<address><span style="font-size:10pt;">Y: top left – y position of the new  image</span></address>
</li>
<li>
<address><span style="font-size:10pt;">W: width of the new  image</span></address>
</li>
<li>
<address><span style="font-size:10pt;">H: height of the new  image</span></address>
</li>
</ul>
<address><span style="font-size:10pt;"><span style="color:#3366ff;"><strong>Part C: Performing  Operations (the mid part)<br />
</strong></span></span></address>
<address></address>
<address><span style="font-size:10pt;"><span style="color:#3366ff;">a) View  Original</span></span></address>
<address><span style="font-size:10pt;"># copies the image from  original directory to edit directory to show the image from the edit  directory</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">FileUtils.cp(originalDirectory+imageName,  editDirectory+imageName)</span></span></address>
<address></address>
<address><span style="font-size:10pt;"><span style="color:#3366ff;">b) View  Active</span></span></address>
<address><span style="font-size:10pt;"># copies the image from  active directory to edit directory to show the image from<span> </span></span></address>
<address><span style="font-size:10pt;"># the edit  directory</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">FileUtils.cp(activeDirectory+imageName,  editDirectory+@image2Name)</span></span></address>
<address></address>
<address><span style="font-size:10pt;"><span style="color:#3366ff;">c) Save as  Active</span></span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span><span style="color:#3366ff;">i</span></span><span style="color:#3366ff;">mg =  with_image()</span></span></address>
<address><span style="font-size:10pt;"># saving the image with the  time stamp in edit directory</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">save_image(img,@image2Name)</span></span></address>
<address><span style="font-size:10pt;"># writing that image in  active directory</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">img.write(File.join(”#{RAILS_ROOT}</span><span style="color:#3366ff;"><span style="font-size:10pt;font-family:Verdana;color:red;"><br />
</span></span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">/public/images/active/parrots.jpg”))</span></span></address>
<address></address>
<address><span style="font-size:10pt;"><span style="color:#3366ff;">d)  Resize</span></span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">out_w= params[:w].to_i</span></span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">out_h =  params[:h].to_i</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">img = with_image()</span></span></address>
<address><span style="font-size:10pt;"># resizing the image by the  given dimensions</span></address>
<address><span style="font-size:10pt;"><span style="color:#3366ff;">img =  img.resize(out_w,out_h)</span></span></address>
<address><span style="font-size:10pt;">#saving the resized image to active  folder</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">save_image(img,@image2Name)</span></span></address>
<address></address>
<address><span style="font-size:10pt;"><span style="color:#3366ff;">e)  Crop</span></span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">@x =  params[:x].to_i</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">@y =  params[:y].to_i</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">@w =  params[:w].to_i</span> </address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">@h =  params[:h].to_i</span> </address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">img =  with_image()</span> </address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">unless  @w == 0 or @h == 0</span></address>
<address><span style="font-size:10pt;"># cropping the image by its  x and y postions with width and height</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">img =  img.crop(@x,@y,@w,@h)</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">end</span> </address>
<address></address>
<address><span style="font-size:10pt;"># saving the croped image to  active folder</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">save_image(img,@image2Name)</span></span></address>
<address></address>
<address><span style="font-size:10pt;"><span style="color:#3366ff;">f)  Rotate</span></span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">degrees = params[:degrees].to_i</span></span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">img = with_image()</span></span></address>
<address><span style="font-size:10pt;"># rotaing the  image by particular degrees</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">img=img.rotate!(degrees)</span></span></address>
<address><span style="font-size:10pt;"># saving the rotated image  to active folder</span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">save_image(img,@image2Name)</span></span></address>
<address></address>
<address><span style="font-size:12pt;"><span style="text-decoration:underline;"><strong><br />
EXTENSIONS TO  CODE<br />
</strong></span></span></address>
<ul>
<li>
<address><span style="font-size:10pt;">In this application the image shown in  the browser is already in the server. We are taking a single image and modifying  around it. We can extend this application by loading user images by using any  standard upload methodology. One of the notable </span><span style="font-size:10pt;">Ajax</span><span style="font-size:10pt;"> upload feature  is what is available in the photo gallery application available in the book  “</span><span style="font-size:10pt;">Ajax</span><span style="font-size:10pt;"> on Rails” by O’reilly Publications. The code for uploading files from client  side is:</span></address>
</li>
</ul>
<address>
<p class="MsoNormal" style="margin-left:0.25in;text-align:justify;"><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">&#60;div  class=”upload_container”&#62;<br />
&#60;% form_for :photo, Photo.new,<br />
:url =&#62;  photos_url(:usertemplate_id =&#62; @usertemplate),<br />
:html =&#62; { :multipart  =&#62; true, :target =&#62; “uploader”,<br />
:id =&#62; “photo_upload” } do &#124;f&#124;  %&#62;<br />
&#60;%= f.file_field :file, :size=&#62;”17″ %&#62;&#60;br /&#62;<br />
&#60;%=  submit_tag “Upload”,:onClick =&#62; “Photo.upload();” %&#62;<br />
&#60;%=  hidden_field_tag “photo_id”, photoposition %&#62;<br />
&#60;% end  %&#62;<br />
&#60;/div&#62;</span></p>
</address>
<address></address>
<ul>
<li>
<address><span style="font-size:10pt;">In this application we are currently  providing editing the image by crop, resize and rotate using Rmagick. Image  rotation is done for 90 degrees clockwise and anticlockwise directions only. We  can extend this application by rotating the image in any degrees by  Rmagick.</span></address>
</li>
</ul>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">img =  Magick::Image::read(File.join(Directory,file)).first</span></span></address>
<address><span style="font-size:10pt;font-family:Verdana;color:red;"><span style="color:#3366ff;">img.rotate!(degrees)</span></span></address>
<address></address>
<address><span style="font-size:10pt;"><strong>P.S:</strong> Note when you are rotating  the image, background changes into whitespace. It can be removed by Rmagick </span><span style="font-size:10pt;font-family:Verdana;color:#3366ff;">img.matte_floodfill(x,y)</span><span style="font-size:10pt;"> concept. (Not supported in IE6)</span></address>
<ul>
<li>
<address><span style="font-size:10pt;">In this application we are currently  resizing the image by giving values in the text. We can extend this application  by using grips on the edges of image instead of using text. We can resize the  image by dragging the grips in and out.</span></address>
</li>
</ul>
<p><span style="color:#b84f70;"><strong>- HEURION CONSULTING INFORMATION  RELEASE</strong></span></p>
<p><strong>About the Author:</strong> Satish N Kota is the Founder and Technical Architect of Heurion Consulting. He is involved in developing applications using Ruby on Rails for last 3 yrs. He has about 10 yrs experience in the IT Industry providing solutions for multiple domains. Visit our website www.heurionconsulting.com</div>
</div>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Ruby on Rails – Powerful Web Development Framework]]></title>
<link>http://expertdevelopers.wordpress.com/?p=19</link>
<pubDate>Sat, 06 Sep 2008 07:55:40 +0000</pubDate>
<dc:creator>efindia</dc:creator>
<guid>http://expertdevelopers.pt-br.wordpress.com/2008/09/06/ruby-on-rails-powerful-web-development-framework/</guid>
<description><![CDATA[Ruby on Rails covers maximum part or web development in the world because of its &#8220;Instant Web ]]></description>
<content:encoded><![CDATA[<p align="justify">Ruby on Rails covers maximum part or web development in the world because of its "Instant Web development" capabilities. In absolute synergy with time that Ruby on Rails developers always one step ahead over the other developers, because the optimal use of its single, yet very effective strategy for the rapid development of Web. The embrace of this feature leads to a win-win situation for customers and company as well.</p>
<p align="justify">Ruby on Rail is a free Web-based framework, which increase speed and the ease with which the database of Web sites can be created and provide the skeleton framework of the code from the beginning. Often the life of rails, or ROR, Ruby on Rails, is the project that programmed in Ruby language and application using the Rails framework has been developed in model - View-Controller design pattern.</p>
<p><a href="http://expertdevelopers.wordpress.com/files/2008/09/rails.jpg"><img class="alignright size-full wp-image-4" title="rails" src="http://expertdevelopers.wordpress.com/files/2008/09/rails.jpg" alt="" width="87" height="112" /></a></p>
<p align="justify">Rails is a full-stack framework for the development of Web-based database applications for the model-view model. From Ajax believe that the demand-and-answer controllers, to the domain model wrapping the database, Rails give you a pure Ruby development environment. To go live, you do to need a database and a Web server.</p>
<p align="justify">The fundamental <a title="Ruby on Rails Web Development" href="http://www.expertsfromindia.com/hire-ruby-on-rails-developers-programmers.htm" target="_blank">Ruby on Rails Web Development</a> includes</p>
<p align="justify">The fundamental Ruby on Rails principles includes Convention over Configuration and don’t repeat yourself.</p>
<p align="justify">"Do not repeat" means that the information in one place, for example, clearly, with the help of the Active Record, a developer not to identify the database of names of the columns in the category definitions. Instead, Ruby can collect this information into the database.</p>
<p align="justify">"The Convention on the configuration” means developers must indicate only the non-traditional aspects of the application. For example, if there is a category of revenue, the model, the table in the database is the name of the sale of standard. Only when one of this Convention, as the Court of Appeals for the sale of products, "you have to write these code names.</p>
<p align="justify">In view of this strict standard values, Rails is often referred to as <span style="font-size:10pt;font-family:Verdana;">"opinionated software"</span>, was in the race a starting point for a multitude of reviewers rails.</p>
<p align="justify">ExpertsFromIndia’s <a title="Ruby on Rails Web Developers" href="http://www.expertsfromindia.com/hire-ruby-on-rails-developers-programmers.htm" target="_blank">ROR web developer</a> has expertise in web applications based Ruby on Rails application development.</p>
<p align="justify">
<p align="justify">
<p><a href="http://del.icio.us/post?url=http://expertdevelopers.wordpress.com/2008/09/06/ruby-on-rails-powerful-web-development-framework/;title=Ruby on Rails – Powerful Web Development Framework"><img src="http://simontoffel88.googlepages.com/delicious.gif" alt="add to del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&#38;url=http://expertdevelopers.wordpress.com/2008/09/06/ruby-on-rails-powerful-web-development-framework/"><img src="http://simontoffel88.googlepages.com/digg.gif" alt="Digg it" /></a> <a href="http://reddit.com/submit?url=http://expertdevelopers.wordpress.com/2008/09/06/ruby-on-rails-powerful-web-development-framework/;title=Ruby on Rails – Powerful Web Development Framework"><img src="http://simontoffel88.googlepages.com/reddit.gif" alt="" /></a> <a href="http://www.stumbleupon.com/submit?url=http://expertdevelopers.wordpress.com/2008/09/06/ruby-on-rails-powerful-web-development-framework/&#38;title=Ruby on Rails – Powerful Web Development Framework"><img src="http://simontoffel88.googlepages.com/stumbleit.gif" alt="Stumble It!" /></a> <a href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&#38;Description=&#38;Url=http://expertdevelopers.wordpress.com/2008/09/06/ruby-on-rails-powerful-web-development-framework/;Title=Ruby on Rails – Powerful Web Development Framework"><img src="http://simontoffel88.googlepages.com/blinklist.gif" alt="Add to Blinkslist" /></a> <a href="http://www.furl.net/storeIt.jsp?u=http://expertdevelopers.wordpress.com/2008/09/06/ruby-on-rails-powerful-web-development-framework/;t=Ruby on Rails – Powerful Web Development Framework"><img src="http://simontoffel88.googlepages.com/furl.gif" alt="add to furl" /></a> <a href="http://ma.gnolia.com/bookmarklet/add?url=http://expertdevelopers.wordpress.com/2008/09/06/ruby-on-rails-powerful-web-development-framework/;title=Ruby on Rails – Powerful Web Development Framework"><img src="http://simontoffel88.googlepages.com/magnolia.gif" alt="add to ma.gnolia" /></a> <a href="http://www.simpy.com/simpy/LinkAdd.do?url=http://expertdevelopers.wordpress.com/2008/09/06/ruby-on-rails-powerful-web-development-framework/;title=Ruby on Rails – Powerful Web Development Framework"><img src="http://simontoffel88.googlepages.com/simpy.png" alt="add to simpy" /></a> <a href="http://www.newsvine.com/_tools/seed&#38;save?url=http://expertdevelopers.wordpress.com/2008/09/06/ruby-on-rails-powerful-web-development-framework/;title=Ruby on Rails – Powerful Web Development Framework"><img src="http://simontoffel88.googlepages.com/newsvine.gif" alt="seed the vine" /></a> <a title="TailRank" href="http://tailrank.com/share/?text=&#38;link_href=http://expertdevelopers.wordpress.com/2008/09/06/ruby-on-rails-powerful-web-development-framework/&#38;title=Ruby on Rails – Powerful Web Development Framework"><img src="http://simontoffel88.googlepages.com/tailrank.gif" alt="TailRank" /></a></p>
]]></content:encoded>
</item>

</channel>
</rss>
