<?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>Ruby On Rails Programming 101</title>
	<atom:link href="http://rubyonrailsprogramming101.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rubyonrailsprogramming101.com</link>
	<description>Making Learning Ruby on Rails the Easy a Breeze</description>
	<lastBuildDate>Thu, 25 Aug 2011 11:07:20 +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>iPhone Libraries</title>
		<link>http://rubyonrailsprogramming101.com/information/iphone-libraries/</link>
		<comments>http://rubyonrailsprogramming101.com/information/iphone-libraries/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 11:06:59 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[Computers And Technology]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[Internet And Businesses Online]]></category>
		<category><![CDATA[iPhone Ruby Libraries]]></category>

		<guid isPermaLink="false">http://rubyonrailsprogramming101.com/?p=222</guid>
		<description><![CDATA[There are many a folk who want to bring apps built upon Rails into the realm of the ever increasingly popular iPhone yet not too many tools may be available for use on the said platform. One that caught developer’s eyes is the rails-iphone-helper library that generates iPhone specific html tags that would allow you [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://t3.gstatic.com/images?q=tbn:ANd9GcSnfukv5nYLiKEEhrIeSKLSzcAzybqwnGQtpGtbZcB4X2Ya0BOrBQ" alt="" />There are many a folk who want to bring apps built upon Rails into the realm of the ever increasingly popular <a href="http://www.everythingaboutmobilephone.com">iPhone</a> yet not too many tools may be available for use on the said platform. One that caught developer’s eyes is the <a href="https://github.com/mptre/rails-iphone-helpers">rails-iphone-helper</a> library that generates iPhone specific html tags that would allow you to go and tinker around with your iPhone.<br />
The <a href="http://www.phpprogrammingtips.com">library</a> download available <a href="https://github.com/mptre/rails-iphone-helpers">here</a> can be used free but apps must conform to widely accepted standards (whether from the community or Apple) for them to work properly. iPhones have captivated the world and with Apple seemingly trying their best to open their doors to the world they may have done so with the release of some secrets that have allowed the development of these extensions.</p>
]]></content:encoded>
			<wfw:commentRss>http://rubyonrailsprogramming101.com/information/iphone-libraries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cross site Issues</title>
		<link>http://rubyonrailsprogramming101.com/information/cross-site-issues/</link>
		<comments>http://rubyonrailsprogramming101.com/information/cross-site-issues/#comments</comments>
		<pubDate>Wed, 25 May 2011 11:00:23 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[Internet And Businesses Online]]></category>
		<category><![CDATA[Code injection]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://rubyonrailsprogramming101.com/?p=220</guid>
		<description><![CDATA[Developers should be aware of the most common forms of cross site problems that can weaken an apps security namely CSRF(Cross-Site Request Forgery) and XSS(Cross-Site Scripting) both of which can lead to infiltration or even hijacking of sessions by unauthorized people or programs that are designed to do just that. SQL injection is another way [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://t3.gstatic.com/images?q=tbn:ANd9GcSaUd3HJDsXmbSjS4CFBavf_HOeDVkpsQu9Ff3jzFAhBh8tMyDH" align=right alt="" />Developers should be aware of the most common forms of cross site problems that can weaken an apps security namely CSRF(Cross-Site Request Forgery) and XSS(Cross-Site Scripting) both of which can lead to infiltration or even hijacking of sessions by unauthorized people or programs that are designed to do just that. <a href="http://www.basicphpprogramming.com">SQL injection</a> is another way by which malware enters sites to hijack them, injecting code and doing stuff such as obtaining user information for use later. Robust security is key and should be taken seriously.</p>
<p>The internet is a very wide place to move through but that very movement poses serious threat to users and developers alike who aim to secure data from those who aim to use it for no good.</p>
]]></content:encoded>
			<wfw:commentRss>http://rubyonrailsprogramming101.com/information/cross-site-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>App Security Installment</title>
		<link>http://rubyonrailsprogramming101.com/information/app-security-installment/</link>
		<comments>http://rubyonrailsprogramming101.com/information/app-security-installment/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 10:23:54 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[Information]]></category>

		<guid isPermaLink="false">http://rubyonrailsprogramming101.com/?p=217</guid>
		<description><![CDATA[Ever gone through your code and discover stray or strange SQL code? Then you have been infiltrated by malware, injecting it with code that is meant to do anything they wish. Security can be improved by preventing such SQL injections, Executable files, users modifying parameters and unsecured stored passwords, all of these make for bad [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://t2.gstatic.com/images?q=tbn:ANd9GcTQ2JjculI6vyXNNfW4u4N2pkfdqZ_CsQzbb-HYe3mw6KQ3cMRXuA" align=right alt="" />Ever gone through your code and discover stray or strange SQL code? Then you have been infiltrated by malware, injecting it with code that is meant to do anything they wish. Security can be improved by preventing such <a href="http://www.basicrubyonrailsprogramming.com">SQL injections,</a> Executable files, users modifying parameters and unsecured stored passwords, all of these make for bad code and eventually failed security<br />
One way is to prevent executable files from being uploaded for execution. Parameters that are sensitive should be filtered properly ensuring only legit ones are accepted. Ant attribute that you think can make or break down security, make it un-editable by using proper parameters.</p>
]]></content:encoded>
			<wfw:commentRss>http://rubyonrailsprogramming101.com/information/app-security-installment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Ensure Security in Ruby Apps</title>
		<link>http://rubyonrailsprogramming101.com/information/how-to-ensure-security-in-ruby-apps/</link>
		<comments>http://rubyonrailsprogramming101.com/information/how-to-ensure-security-in-ruby-apps/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 10:21:09 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[Internet And Businesses Online]]></category>

		<guid isPermaLink="false">http://rubyonrailsprogramming101.com/?p=215</guid>
		<description><![CDATA[Security is the first priority when it comes to ruby apps for without it, however robust and well thought of a program is, it’s bound to fail. Many developers have had recommendations on how to get about this but here are some of the most important points to consider when building and deploying Ruby Apps. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://t1.gstatic.com/images?q=tbn:ANd9GcTT1zhtm0KAXJatsQTqxa5h1DZtJMgMXZ1na-moO5KY-o1JEvzUfE-jGCg" align=right alt="" />Security is the first priority when it comes to ruby apps for without it, however robust and well thought of a program is, it’s bound to fail. Many <a href="http://www.opensourcedailyguide.com">developers</a> have had recommendations on how to get about this but here are some of the most important points to consider when building and deploying Ruby Apps. </p>
<p>Authorization is two things, one is to allow people to get into the site/app and the other is to let people do things within the said app. Such is a case such as in WP which has different user levels, admin allowing you to do almost anything. Users can log-in and modify their profiles but other than that they are given no other rights. More tips in upcoming posts so do check back for more.</p>
]]></content:encoded>
			<wfw:commentRss>http://rubyonrailsprogramming101.com/information/how-to-ensure-security-in-ruby-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comments (Part 1)</title>
		<link>http://rubyonrailsprogramming101.com/set-up/comments-part-1/</link>
		<comments>http://rubyonrailsprogramming101.com/set-up/comments-part-1/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 11:34:26 +0000</pubDate>
		<dc:creator>Avatar</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Set-Up]]></category>
		<category><![CDATA[RoR Basics]]></category>

		<guid isPermaLink="false">http://rubyonrailsprogramming101.com/set-up/comments-part-1/</guid>
		<description><![CDATA[Their use seems elementary but ask any well-seasoned programmer and they too use them. It allows you to understand complex functions or to explain the operation you’re going to do or just about what ever you would want to include in your programs as long as they are treated as comments. They also make great [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://justaddwater.dk/2007/04/02/spam-blog-posted-182-articles-in-one-day/"><img src="/wp-content/uploads/scraped/23.jpg"/></a>
<p>Their use seems elementary but ask any well-seasoned programmer and they too use them. It allows you to understand complex functions or to explain the operation you’re going to do or just about what ever you would want to include in your programs as long as they are treated as comments. They also make great tools when troubleshooting/debugging programs for sometimes, the long days and nights do translate into a lot of code, some of which look almost all the same. Ruby reminds me of a documentation program we had included with previous programming languages such as C and even Cobol which has an add-on or function with the compiler which dissects the program and documents everything.</p>
]]></content:encoded>
			<wfw:commentRss>http://rubyonrailsprogramming101.com/set-up/comments-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting Classes in Ruby</title>
		<link>http://rubyonrailsprogramming101.com/basics/converting-classes-in-ruby/</link>
		<comments>http://rubyonrailsprogramming101.com/basics/converting-classes-in-ruby/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 11:34:05 +0000</pubDate>
		<dc:creator>Avatar</dc:creator>
				<category><![CDATA[Basics]]></category>

		<guid isPermaLink="false">http://rubyonrailsprogramming101.com/basics/converting-classes-in-ruby/</guid>
		<description><![CDATA[The two basic numeric data types in ruby floats and integers are treated in several classes or methods so we have to be very clear on which is which and how methods work on them. As discussed the standard mathematical operators treat numbers differently depending on the method they were presented a sample of which [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.25hoursaday.com/weblog/CategoryView.aspx%3Fcategory%3DProgramming"><img src="/wp-content/uploads/scraped/22.jpg"/></a>
<p>The two basic numeric data types in ruby floats and integers are treated in several classes or methods so we have to be very clear on which is which and how methods work on them. As discussed the standard mathematical operators treat numbers differently depending on the method they were presented a sample of which is shown below:</p>
<p>String#to_i :  This method/operation converts String to Integer<br />
String#to_f :  This method/operation converts String to Float<br />
Float#to_i  :  This method/operation converts Float  to Integer<br />
Float#to_s  :  This method/operation converts Float  to String<br />
Integer#to_f:  This method/operation converts Integer to Float<br />
Integer#to_s:  This method/operation converts Integer to String  </p>
]]></content:encoded>
			<wfw:commentRss>http://rubyonrailsprogramming101.com/basics/converting-classes-in-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby Mathematics</title>
		<link>http://rubyonrailsprogramming101.com/basics/ruby-mathematics/</link>
		<comments>http://rubyonrailsprogramming101.com/basics/ruby-mathematics/#comments</comments>
		<pubDate>Sun, 10 Oct 2010 11:33:09 +0000</pubDate>
		<dc:creator>Avatar</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Arithmetic]]></category>
		<category><![CDATA[Mathematical]]></category>
		<category><![CDATA[Operators]]></category>

		<guid isPermaLink="false">http://rubyonrailsprogramming101.com/basics/ruby-mathematics/</guid>
		<description><![CDATA[The language supports the two number types, integers (whole numbers) and floating point numbers(fractions). For integers, there are instances of Class Fixnum and Bignum and floating point numbers there are instances of class float. RoR as any programming languages can perform all forms of mathematical operations. It gives reflects integers when two integers are added [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.teachingscholars.org/2005-06_awardees.asp"><img src="/wp-content/uploads/scraped/21.jpg"/></a>
<p>The language supports the two number types, integers (whole numbers) and floating point numbers(fractions). For integers, there are instances of Class Fixnum and Bignum and floating point numbers there are instances of class float.<br />
RoR as any programming languages can perform all forms of mathematical operations. It gives reflects integers when two integers are added and vice versa with floating point numbers which will give a floating point number when a fraction is divided by an integer. These operations are treated as intact methods along witht he various mathematical processes are also treated as methods just the same which gives them the properties of an operator of sorts. Narray as the name suggests, is a package that functions to handle arrays of large sizes. Other ruby libraries such as Vector and matrix are very strong extensions of C which can handle statistical information.</p>
]]></content:encoded>
			<wfw:commentRss>http://rubyonrailsprogramming101.com/basics/ruby-mathematics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yield statement Continued</title>
		<link>http://rubyonrailsprogramming101.com/basics/20/</link>
		<comments>http://rubyonrailsprogramming101.com/basics/20/#comments</comments>
		<pubDate>Fri, 10 Sep 2010 01:40:37 +0000</pubDate>
		<dc:creator>Avatar</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Sample Code]]></category>
		<category><![CDATA[parameter passing]]></category>
		<category><![CDATA[yield]]></category>

		<guid isPermaLink="false">http://rubyonrailsprogramming101.com/basics/20/</guid>
		<description><![CDATA[The previous post using the yield statement gives us the following output which shows the ease of using blocks in programs which can be used to pass on parameters to the other parts of the same statement. The code from the previous post gives the output: Hi There Hi There Hi There The code between [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.thinkingms.com/pensieve/default,date,2004-04-27.aspx"><img src="/wp-content/uploads/scraped/20.jpg"/></a>
<p>The previous post using the yield statement gives us the following output which shows the ease of using blocks in programs which can be used to pass on parameters to the other parts of the same statement.</p>
<p>The code from the previous post gives the output:<br />
Hi There<br />
Hi There<br />
Hi There</p>
<p>The code between the curly braces is associated to the method three times and within that yield command is called three times in succession, each time calling the code contained within the block giving the three output code in the form of the greeting. We will discuss the concepts behind the &#8216;yield&#8217; statement in the next posts as we continue to build-up up our skills while aiming to use more of the simplified methods used in ruby to further shorten the code making it easier to implement and use..</p>
]]></content:encoded>
			<wfw:commentRss>http://rubyonrailsprogramming101.com/basics/20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the &#8216;yield&#8217; statement</title>
		<link>http://rubyonrailsprogramming101.com/basics/using-the-yield-statement/</link>
		<comments>http://rubyonrailsprogramming101.com/basics/using-the-yield-statement/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 01:36:42 +0000</pubDate>
		<dc:creator>Avatar</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Sample Code]]></category>
		<category><![CDATA[simplifying code]]></category>
		<category><![CDATA[yield]]></category>

		<guid isPermaLink="false">http://rubyonrailsprogramming101.com/basics/using-the-yield-statement/</guid>
		<description><![CDATA[It might be almost similar but relatively different in a big way for blocks may appear only in the source adjacent to a method call which means it should be written on the same line as the method&#8217;s last parameter and it is not implemented once it is encountered but, Ruby rather remembers the context [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.protsyk.com/cms/%3Fp%3D147"><img src="/wp-content/uploads/scraped/19.jpg"/></a>
<p>It might be almost similar but relatively different in a big way for blocks may appear only in the source adjacent to a method call which means it should be written on the same line as the method&#8217;s last parameter and it is not implemented once it is encountered but, Ruby rather remembers the context by which the block of code appears then enters the method. Within the method itself, the block of code may be called as if it were a block in itself by using the &#8216;yield&#8217; statement. After the block of code has been executed, control returns immediately right after the call to the yield statement. Sample use of &#8216;yield&#8217;:</p>
<p>def threeTimes<br />
     yield<br />
     yield<br />
     yield<br />
end<br />
threeTimes {puts &#8220;Hi There&#8221;}</p>
]]></content:encoded>
			<wfw:commentRss>http://rubyonrailsprogramming101.com/basics/using-the-yield-statement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simplifying the previous program with modifiers</title>
		<link>http://rubyonrailsprogramming101.com/basics/simplifying-the-previous-program-with-modifiers/</link>
		<comments>http://rubyonrailsprogramming101.com/basics/simplifying-the-previous-program-with-modifiers/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 01:35:27 +0000</pubDate>
		<dc:creator>Avatar</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Sample Code]]></category>
		<category><![CDATA[if statements]]></category>
		<category><![CDATA[modifiers]]></category>
		<category><![CDATA[siplifying code]]></category>

		<guid isPermaLink="false">http://rubyonrailsprogramming101.com/basics/simplifying-the-previous-program-with-modifiers/</guid>
		<description><![CDATA[As said in the past post, there is an easier way of doing the stuff we did in the last program which would be very helpful when coding thousands of line of code when you do end up building your own programs is ruby. class BookList def [](key) if key.kind_of?(integer) result = @Books[key] else result [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ismanet.org/resources/mm_coalition/11-9-07/index.htm"><img src="/wp-content/uploads/scraped/18.jpg"/></a>
<p>As said in the past post, there is an easier way of doing the stuff we did in the last program which would be very helpful when coding thousands of line of code when you do end up building your own programs is ruby.</p>
<p>class BookList<br />
     def [](key)<br />
	if key.kind_of?(integer)<br />
	     result =  @Books[key]<br />
	else<br />
	     result = @Books.find { |aBooks| key == sBooks.name}<br />
     	end<br />
	return result<br />
     end<br />
end</p>
<p>Simplifying the code further by using the ‘if’ statement as a modifier it becomes a shorter easier to attain the same results as with the first program:</p>
<p>class Booklist<br />
     def [](key)<br />
	return @Books[key] if key.kind_of?(Integer)<br />
	return @Books.find { |aBooks| aBooks.name == key }<br />
     end<br />
end</p>
<p>The use of the &#8216;find&#8217; command in Ruby is simply a call to a function that is executed and it can be compared to a block call in many other languages such as Perl, C++ or Java. </p>
]]></content:encoded>
			<wfw:commentRss>http://rubyonrailsprogramming101.com/basics/simplifying-the-previous-program-with-modifiers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

