Exemplary Rails 2.1 app?

Railsters:

An exemplary Rails 1.x app is Beast, for example. I have always been
able to download it and experiment with it, to try extracurricular
Rails experiments from a good base. Without the burden of writing my
own app (gee, maybe an online forum, for example!).

What’s a good example of a public Rails 2.1 app? I suspect Beast does
not do 2.1 yet. Something like a blog, wiki, or dashboard that I could
download, play with, and make an example of?


Phlip

I’ve written a rails application in 2.1, and whilst it’s probably not
your definition of “exemplary” it’s an application none the less.
http://github.com/radar/rboard

I’ve written a rails application in 2.1, and whilst it’s probably not
your definition of “exemplary” it’s an application none the less.http://github.com/radar/rboard

Tx! Now your migration fails on this line:

u = UserLevel.find_by_name("User")
u.position = 1

The fix:

rake db:migrate:reset VERSION=20080730091145
rake db:fixtures:load
rake db:migrate

Going forward, I too don’t know what the best practice is, between
fixtures and migrations, to prime a database with the correct initial
data…


Phlip

Altered Beast is a Rails 2.x rewrite of Beast:
http://github.com/courtenay/altered_beast/tree/master

–Jeremy

On Fri, Aug 15, 2008 at 8:52 PM, Phlip [email protected] wrote:

download, play with, and make an example of?


Phlip


http://jeremymcanally.com/
http://entp.com/
http://omgbloglol.com

My books:
http://manning.com/mcanally/
http://humblelittlerubybook.com/ (FREE!)

Next, I seem to be missing some sphinxie goodness:

undefined method `define_index’ for #Class:0xb6e7d658
from /home/phlip/tools/rboard/app/models/post.rb:8

Commenting out the define_index block lets me run the specs, with only
2 failures. I will just clobber them.

(Curiously, the failures don’t say “sphinx”, but that thing is a son-
of-a-bitch to test, so I don’t blame you for skipping it!)

And in conclusion, thanks for the new toy!


Phlip

I think the ‘initial’ project aspires to be an exemplary 2.x app:

http://rubyforge.org/forum/forum.php?forum_id=26161

HTH,

-Roy

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs