Re: [typo] Ajax in Sidebar Plug-in Admin Interface

2006-03-21 Thread Piers Cawley
Chris Saylor [EMAIL PROTECTED] writes: I would like to do drag and drop ordering of information in the admin section of a plug-in. I tried to define the update method in the plugin controller, but ajax was unable to call it. Anybody have any ideas on how I can get this to work. Here is a link

[typo] Disabling comments after x days

2006-03-21 Thread Jon Lim
Hi, Maybe I've not configured this quite right. Disabling comments after x days does stop people commenting, but it leaves a rails error message. It does not look like disabling comments updates Articles which are older than the set number of days. Is there something I have to do to make this

Re: [typo] Ajax in Sidebar Plug-in Admin Interface

2006-03-21 Thread Steve Longdo
+1 It would be great if sidebars could have more than just the content page. I tried it by updating the DIV via _javascript_, but when you access the sidebars outside of the controller loaded context things get icky. Probably why they are so hard to test. I think if Piers refactored sidebar code

[typo] Mmm... higher order code

2006-03-21 Thread Piers Cawley
Mmm... I love this programming language. I've just written the following: def perform_action_without_filters scope_hash = {:find = {:conditions = blog_id = #{this_blog.id}}, :create = {:blog_id = this_blog.id}} blog_scoped_model_classes.inject(lambda {super}) do

Re: [typo] Mmm... higher order code

2006-03-21 Thread Rob Sanheim
On 3/21/06, Piers Cawley [EMAIL PROTECTED] wrote: Mmm... I love this programming language. I've just written the following: def perform_action_without_filters scope_hash = {:find = {:conditions = blog_id = #{this_blog.id}}, :create = {:blog_id = this_blog.id}}

Re: [typo] admin settings not sticking

2006-03-21 Thread Piers Cawley
Jack Schwarz [EMAIL PROTECTED] writes: I recently updated to the latest revision [935] and now I am unable to make comments or make changes to my admin settings. Commenting gives me an Input/output error. All options in my settings are checked and I am unable to turn any of them off. I am

Re: [typo] admin settings not sticking

2006-03-21 Thread Jack Schwarz
If I had to make a guess things broke for me after [921] (at the earliest). I really was starting to worry I was the only one on this one. Thanks, Jack On 3/21/06, Piers Cawley [EMAIL PROTECTED] wrote: Jack Schwarz [EMAIL PROTECTED] writes: I recently updated to the latest revision [935]

[typo] rake migrate fails on 2.6.0 - svn trunk

2006-03-21 Thread phil
I'm trying to migrate a user's database from 2.6.0 to svn trunk, but rake migrate (with full trace) gives the following error: [EMAIL PROTECTED]:~/websites/typo-svn]$ rake --trace migrate (in /home/phil/websites/typo-svn) ** Invoke migrate (first_time) ** Invoke environment (first_time) **

Re: [typo] admin settings not sticking

2006-03-21 Thread Jack Schwarz
You got it. Thanks. On 3/21/06, Piers Cawley [EMAIL PROTECTED] wrote: Jack Schwarz [EMAIL PROTECTED] writes: If I had to make a guess things broke for me after [921] (at the earliest). I really was starting to worry I was the only one on this one. Okay, I've got a fix waiting (it turns

Re: [typo] Typo on Edge Rails

2006-03-21 Thread Steven Smith
Thanks Kevin. I just posted a similar question to the Rails list before seeing your response. Sorry for the duplication. On Mar 22, 2006, at 12:14 AM, Kevin Ballard wrote: At the moment, Typo does not work on edge rails. Now that 1.1 release candidate just came out, I'm planning on