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

<channel>
	<title>ActivoRicordi Captain&#039;s log &#187; Rails</title>
	<atom:link href="http://blog.activoricordi.com/tag/rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.activoricordi.com</link>
	<description>Delivering Innovation through Technology</description>
	<lastBuildDate>Sat, 21 Jan 2012 00:56:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>I have changed to JQuery in Rails</title>
		<link>http://blog.activoricordi.com/2009/11/i-have-changed-to-jquery-in-rails/</link>
		<comments>http://blog.activoricordi.com/2009/11/i-have-changed-to-jquery-in-rails/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 09:23:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[RubyonRails]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Rails 2.0]]></category>

		<guid isPermaLink="false">http://blog.activoricordi.com/2009/11/i-have-changed-to-jquery-in-rails/</guid>
		<description><![CDATA[jQuery is today the best js library, prototype is a challenger.The reasons why I think this are beautifully illustrated on the following post. To use jQuery in rails install the following plugin: ruby script/plugin install http://ennerchi.googlecode.com/svn/trunk/plugins/jrails Here is a list of existing functions which are available once we replace prototype+scriptacuolous for the jquery. Hopefully, this [...]]]></description>
			<content:encoded><![CDATA[<p>jQuery is today the best js library, prototype is a challenger.The reasons why I think this are beautifully illustrated on the following <a href="http://jimneath.org/2008/06/18/using-jquery-with-ruby-on-rails/">post</a>. To use jQuery in rails install the following plugin:</p>
<p>ruby script/plugin install http://ennerchi.googlecode.com/svn/trunk/plugins/jrails</p>
<p>Here is a <a href="http://justtalkaboutweb.com/2008/01/14/replace-prototype-with-jquery-on-rails/">list</a> of existing functions which are available once we replace prototype+scriptacuolous for the jquery. Hopefully, this support will improve once we approach to Rails 3.</p>
<p>If you want to use both libraries, you will keep prototype js files, if you plan to use only jquery you could removed them. I particularly think that seems you have decided to use jquery there is few reasons to keep them.</p>
<p>Also, there are two ways to use jquery, I just found this interesting article which speak about a different way to use jquery, not using jrails but instead in a more unobstrusive way. Interesting point of view.</p>
<p>http://www.notgeeklycorrect.com/english/2009/05/18/beginners-guide-to-jquery-ruby-on-rails/</p>
<p>Kind regards and good weekend</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.activoricordi.com/2009/11/i-have-changed-to-jquery-in-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conferencia Rails 2008</title>
		<link>http://blog.activoricordi.com/2008/11/conferencia-rails-2008/</link>
		<comments>http://blog.activoricordi.com/2008/11/conferencia-rails-2008/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 17:42:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[RubyonRails]]></category>
		<category><![CDATA[conferenciarails2008]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://blog.activoricordi.com/?p=110</guid>
		<description><![CDATA[Un más ActivoRicordi ha estado en la conferencia Rails española. Un año más esta siendo una gran experiencia, un año más el software es la excusa para juntar gente brillante sobre un mismo techo y compartir que se esta haciendo cosas muy interesantes en este país relativos a la innovación. Muy lentamente se esta generando [...]]]></description>
			<content:encoded><![CDATA[<p>Un más ActivoRicordi ha estado en la conferencia Rails española. Un año más esta siendo una gran experiencia, un año más el software es la excusa para juntar gente brillante sobre un mismo techo y compartir que se esta haciendo cosas muy interesantes en este país relativos a la innovación.</p>
<p>Muy lentamente se esta generando un tejido empresarial de innovación y productividad a través de la technologia &#8220;Ruby on Rails&#8221; y a su alreador. Una technologia que es la excusa para lanzar iniciativas con muchos puntos comunes</p>
<p><strong>Colaboración y comunidad</strong>: Las aplicaciones son esfuerzos colaborativos de un grupo de personas buscando situaciones win-win.</p>
<p><strong>Usabilidad</strong> : Simplicidad de uso en las interfases, flexibilidad o más bien adaptación a los usuarios.</p>
<p><strong>Productividad</strong>: Crear desarrollo productivos, competir con inversiones pequeñas con los jugadores más grandes</p>
<p><strong>Software como servicio o con servicios añadidos</strong>: El software se convierte en algo más que una licencia, es la excusa para proporcionar un servicio al usuario, flexible, agil y adaptado a sus necesidades.</p>
<p><strong>Estandarización</strong>: Enlazado con la colaboración, utilización de estandares.</p>
<p><strong>Escalabilidad</strong>: La infrastructura no debe convertirse en una limitación a las ideas y a los proyectos.</p>
<p>Sin embargo, considero que este será uno de los años claves para Framework, por un lado empiezan a aparecer competidores en el mercado como Merb que ganan adeptos, y por otro la crisis obliga a muchos proyectos a darse una dosis de realidad.</p>
<p>Aunque existen casos de exitos muy interesantes, me ha sorprendido mucho saber que &#8220;La Razon&#8221; corre sobre Rails, y si sigue a este ritmo &#8220;La Coctelera&#8221; pronto será conocida como &#8220;La Incubadora&#8221; : UVLog, iwannagothere.com , estos tipos no paran de crear propuestas nuevas.</p>
<p>Cierro aquí para asistir a la Keynote de &#8220;Obie Fernandez&#8221;.</p>
<p>Hasta el proximo año!!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.activoricordi.com/2008/11/conferencia-rails-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gestión de autorizaciones y autentificaciones en RoR</title>
		<link>http://blog.activoricordi.com/2007/12/gestion-de-autorizaciones-y-autentificaciones-en-ror/</link>
		<comments>http://blog.activoricordi.com/2007/12/gestion-de-autorizaciones-y-autentificaciones-en-ror/#comments</comments>
		<pubDate>Sun, 02 Dec 2007 18:46:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[RubyonRails]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Authorization]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://blog.activoricordi.com/?p=3</guid>
		<description><![CDATA[Una de las mejores cosas que tiene &#8220;Rails&#8221; es lo sencillo que es gestionar todas las autorizaciones y la autentificación de los usuarios además de la razonable cantidad de &#8220;plugins&#8221; ya escritos. En cierta manera, aunque pueda parecer muy restrictivo sería genial que estuviese contenido ya dentro del mismo &#8220;framework&#8221; como un gestor de usuarios, [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="line-height: normal"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';">Una de las mejores cosas que tiene &#8220;<em>Rails</em>&#8221; es lo sencillo que es gestionar todas las autorizaciones y la autentificación de los usuarios además de la razonable cantidad de &#8220;<em>plugins</em>&#8221; ya escritos. En cierta manera, aunque pueda parecer muy restrictivo sería genial que estuviese contenido ya dentro del mismo &#8220;<em>framework</em>&#8221; como un gestor de usuarios, roles y grupos.</span></p>
<p class="MsoNormal" style="line-height: normal"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';">De cualquier manera existe ya un plugin denominado RESTful Authenticated (versión nueva del Act_as_Authenticated) que nos ahorra mucho trabajo y que fácilmente podemos adaptar para administrar el resto del sistema de autorizaciones y autenticación.</span></p>
<p class="MsoNormal" style="line-height: normal"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';">1.Obviamente lo primero que hemos de hacer será instalar el plugin &#8220;RESTful authentication&#8221; en nuestra aplicación, se trata de un paso sencillo.</span></p>
<p class="MsoNormal" style="line-height: normal"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';">2.- Autentificación del Usuario:</span></p>
<p class="MsoNormal" style="line-height: normal"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';">&#8220;<em>RESTful authentication</em>&#8221; es un generador que nos va permitir crear el modelo y el controlador que va a realizar la gestión de la autentificación del usuario.</span></p>
<p class="MsoNormal" style="line-height: normal"><span style="font-size: 10pt; font-family: 'Courier New';">ruby script/generate authenticated user account</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br />
</span><span style="font-size: 10pt; font-family: 'Courier New';">rake db:migrate</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br />
Si estamos utilizando RadRails, iremos a la pestaña de Generators una vez bajado e instalado el plugin, y introduciremos &#8220;<em>authenticated</em>&#8221; dem<br />
&#8216;user&#8217; es el nombre del modelo que vamos a utilizar para guardar los datos de autentificación del usuario, además creamos el nombre del controlador que va a gestionar la autentificación en este caso vamos a llamarlo &#8216;account&#8217;, pero podemos llamarlo &#8216;cuenta&#8217;,'acceso&#8217; o el nombre que le queramos dar.</span></p>
<p class="MsoNormal" style="line-height: normal"><span style="font-size: 10pt; font-family: 'Courier New';">./script/generate authenticated <em>&lt;usermodelname&gt;</em> <em>&lt;controllername&gt;</em></span></p>
<pre>./script/generate authenticated user sessions</pre>
<p class="MsoNormal" style="line-height: normal"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';">Esto no creara un modelo &#8216;user&#8217; o &#8216;usuario&#8217; y un controlador que se denominara &#8216;account&#8217; en que luego entraremos a para adaptarlo a nuestro intereses</span></p>
<p class="MsoNormal" style="line-height: normal"><span style="font-size: 10pt; font-family: 'Courier New';">./script/generate authenticated user account \&#8211;include-activation</span></p>
<p class="MsoNormal" style="line-height: normal"><span style="font-size: 12pt; font-family: 'Times New Roman','serif';">Mediante el generador se crearan automáticamente los siguientes recursos:</span></p>
<p class="MsoNormalCxSpMiddle" style="line-height: normal"><span style="font-size: 10pt; font-family: 'Courier New';">exists app/models/</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br />
</span><span style="font-size: 10pt; font-family: 'Courier New';">exists app/controllers/</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br />
</span><span style="font-size: 10pt; font-family: 'Courier New';">exists app/controllers/</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br />
</span><span style="font-size: 10pt; font-family: 'Courier New';">exists app/helpers/</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br />
</span><span style="font-size: 10pt; font-family: 'Courier New';">create app/views/account</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br />
</span><span style="font-size: 10pt; font-family: 'Courier New';">exists app/controllers/</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br />
</span><span style="font-size: 10pt; font-family: 'Courier New';">exists app/helpers/</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br />
</span><span style="font-size: 10pt; font-family: 'Courier New';">create app/views/users</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br />
</span><span style="font-size: 10pt; font-family: 'Courier New';">exists test/functional/</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br />
</span><span style="font-size: 10pt; font-family: 'Courier New';">exists test/functional/</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br />
</span><span style="font-size: 10pt; font-family: 'Courier New';">exists test/unit/</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br />
</span><span style="font-size: 10pt; font-family: 'Courier New';">create app/models/user.rb</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"> -<br />
</span><span style="font-size: 10pt; font-family: 'Courier New';">create app/controllers/account_controller.rb</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br />
</span><span style="font-size: 10pt; font-family: 'Courier New';">create app/controllers/users_controller.rb</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br />
</span><span style="font-size: 10pt; font-family: 'Courier New';">create lib/authenticated_system.rb</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br />
</span><span style="font-size: 10pt; font-family: 'Courier New';">create lib/authenticated_test_helper.rb</span><span style="font-size: 12pt; font-family: 'Times New Roman','serif';"><br />
</span><span style="font-size: 10pt; font-family: 'Courier New';">create test/functional/account_controller_test.rb<br />
create app/views/users/new.rhtml<br />
create test/functional/users_controller_test.rb<br />
create test/unit/user_test.rb<br />
create test/fixtures/users.yml<br />
create app/helpers/account_helper.rb<br />
create app/helpers/users_helper.rb<br />
create app/views/account/new.rhtml</span></p>
<p class="MsoNormalCxSpMiddle" style="line-height: normal">Si se utiliza el textmate existe un bundle especifico dentro del textmate que permite la instalación de plugins.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.activoricordi.com/2007/12/gestion-de-autorizaciones-y-autentificaciones-en-ror/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

