> Rails is a framework, cf is a language. There's no comparing if the two.
I would disagree somewhat. Rails is a framework, yes, but nearly everyone who codes for the web in Ruby uses Rails, so framework or not, it's effectively "the way" and might as well be part of the language as far as web development is concerned. > Not sure what you're considering to be complicated about it. Relatively speaking "@episode = Episode.find(params[:episode][:episode_id])" seems more complicated than "url.episode" to retrieve the URL value. > The author of that blog post looks to be relatively new to rails as > hardly anyone hard codes params into strings for urls. That's the crux of what I was trying to determine. Not being a Rails developer myself I don't know if what this guy was doing is standard or if they were just using a more complex method for some reason. > You almost always use the rails URL helper functions. So if this guy is using a non-standard way to get at a URL value, what would the Rails equivalent of "url.episode" be? -Justin ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:366955 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-community/unsubscribe.cfm
