Re: [Radiant] ANN: Reordering of Pages

2007-02-08 Thread Todd McGrath
Nice job John and Adam! In my case, I think it's going to make more sense for users to have position be the default order. So, I made the following change in standard_tags.rb to set default order by to use position in children:each: #by = (attr[:by] || 'published_at').strip by = (attr[:by] ||

Re: [Radiant] [Radiant-Core] ANN: Reordering of Pages

2007-02-08 Thread Adam Williams
On Feb 8, 2007, at 8:02 AM, Todd McGrath wrote: In my case, I think it's going to make more sense for users to have position be the default order. So, I made the following change in standard_tags.rb to set default order by to use position in children:each: #by = (attr[:by] ||

Re: [Radiant] Radiant 0.6 RC1

2007-02-08 Thread Oliver Barnes
how do I install it on a shared host that doesn't have the gem installed? is there a way to freeze the gem to /vendor? 2007/2/6, John W. Long [EMAIL PROTECTED]: Adam Salter wrote: Question: Is there any difference in init/run time with a Rails app running Rails from vendor/rails? I'd hope

Re: [Radiant] Radiant 0.6 RC1

2007-02-08 Thread Luis Lavena
On 2/8/07, Oliver Barnes [EMAIL PROTECTED] wrote: how do I install it on a shared host that doesn't have the gem installed? is there a way to freeze the gem to /vendor? You could ssh to your host, set GEM_PATH to some folder in your home directory (~/.gems) and the install radiant gem. Later

[Radiant] NoMethodError (undefined method `find' for Status:Class):

2007-02-08 Thread Ryan Lundie
Hi, I am attempting to install Radiant on Mongrel server, and receive the following error: NoMethodError (undefined method `find' for Status:Class): /app/models/page.rb:49:in `status' /app/models/page.rb:57:in `published?' /app/models/behavior.rb:92:in `find_page_by_url'

Re: [Radiant] Need someone to confirm a bug with sqlite3 and mental

2007-02-08 Thread Luigi Rizzo
Ben Johnson wrote: I've been trying to get this working for two days now. If I get myself a copy of mental (both from the Gem and from SVN) and try to use sqlite3 as my database, the rake db:bootstrap script doesn't seem to create a user. It doesn't report any errors, or problems, it just

Re: [Radiant] Need someone to confirm a bug with sqlite3 and mental

2007-02-08 Thread Luis Lavena
On 2/8/07, Ben Johnson [EMAIL PROTECTED] wrote: I've been trying to get this working for two days now. If I get myself a copy of mental (both from the Gem and from SVN) and try to use sqlite3 as my database, the rake db:bootstrap script doesn't seem to create a user. It doesn't report any