> There's also another popular web framework for ruby which is
> a much lower level one. It's called Sinatra, and if you're doing
> API services, it's usually the goto one.
Good to know, I haven't heard of that one before.
> This is not only fetching the url variable, it's grabbing the Episode
> model from the db
Ah, ok so what he's doing there is essentially the equivalent of an
entityLoad() such as:
Episode = entityLoad("episode", url.episode, true);
> params[:episode]
That makes more sense.
-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:366957
Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-community/unsubscribe.cfm