Sample app gets a quick bump
Courtenay : April 14th, 2007
Trevor has renamed the Image model to Asset to avoid “image_path” namespace conflicts. Also, Dan Quellhorst caught a security issue in the default “user.to_xml” that was showing the passwords. Install instructions were culled from the various comments and moved to README.
Finally, I’ve tagged version 3 as stable, and we’ll backport any critical bugs to this branch, but no new features, so you can safely use it with piston. We’ll create any schema changes as new migrations in stable branch (it’s up to you to fit them to your project).
Trunk will continue to be developed and migrations will not be back-compatible; that is, if we change the user or asset tables, we won’t create new migrations. As we get enough features to warrant a release, it’ll be tagged.
You can download tarballs or view the sourcecode online at our old-school-style site,
8 Responses to “Sample app gets a quick bump”
Sorry, comments are closed for this article.
April 16th, 2007 at 12:41 AM
I think a sample app like this is way overrated, in the end it’s just going to get in your way. Be careful, it’s bloated before you know it.
April 19th, 2007 at 12:26 PM
You’ve got a discussion forum for the Sample App at http://forum.caboo.se/ but right now clicking “Signup” results in “Beast System Error”.
– Fortuity
April 19th, 2007 at 12:28 PM
I wonder about the substitution of the spec directory for the test directory. I had to create the test directory to get “script/generate scaffold_resource” to run without a hiccup. It complained “No such file or directory - …/test/fixtures/…” I guess you want to encourage use of rspec as a best practice (me, I’m new to it). Just wanted to point out this rough edge.
– Fortuity
April 19th, 2007 at 02:47 PM
use script/generate rspec_resource instead
April 19th, 2007 at 02:50 PM
I disagree with Matthijs. There are tons of people just starting with Rails who could benefit from seeing best practices.
Keep up the great work Courtenay!
April 26th, 2007 at 01:30 PM
Thanks for the great resource court3nay. It is very helpful for a newbie like me.
Is there some special process for using the YUI CSS grid features? Specifically, I am trying to place elements in the sidebar using:
But, nothing gets displayed.
I downloaded the stylesheet from the URL in the stylesheet link (http://yui.yahooapis.com/2.2.0/build/reset-fonts-grids/reset-fonts-grids.css) to try and figure it out. However, I discovered that the file contains no CSS coding for “sidebar”.
Am I missing something here? Thanks again,
Dondi.
April 26th, 2007 at 02:36 PM
April 26th, 2007 at 03:32 PM
Thanks court3nay! Is there a general guide to using the YUI styles within a Rails app? Or is it as simple as substituting the desired id for ‘sidebar’ in the eRb fragment you posted above?