On Wed, 2008-06-04 at 09:25 +0200, Stefan Urbanek wrote:
> thank you.
>
> doing:
>
> svn checkout http://svn.radiantcms.org/radiant/trunk/extensions/
> reorder vendor/extensions/reorder
>
> ... helped as well - no errors on rake db:migrate:extensions.
I hate to dig up a days old conversation,
Yes, you can add migrations.
No special Radiant way to do it as far as I know
Yes, it will cause problems. That may change depending on what is done
when Radiant moves to Ralis 2.1 and if it can handle the time-stamped
migrations. I'm no git expert, but you should be able to manage the
probl
I have a few general questions for all the Radiant gurus on the list:
- Can you add/create migrations on top of an installed extension?
- If so, is there a special Radiant way to do it?
- Will doing that create any problems when I/anybody tries to update the
extension from a cloned copy using "git
On Mon, 2008-06-16 at 20:00 +0100, Andrew Neil wrote:
> Nate,
>
> Did you make any headway on this?
Also, when I commented out the "count-active-subscribers" method and the
index action rendered propery, hitting the export link caused an
undefined method error when it hit the
"find_active_subscri
On Mon, 2008-06-16 at 20:00 +0100, Andrew Neil wrote:
> Nate,
>
> Did you make any headway on this?
>
I have completely erased all traces of the subscriber-lists extension
from the database and the radiant app. Then I re-installed the extension
from scratch and created a new subscriber-lists pag
Andrew,
Unfortunately no... you'll have to do IS NOT NULL (without the
interpolation). However, that is SQL-92 compatible, so most DBMS should
recognize it. DataMapper allows things like :unsubscribed_at.not =>
nil, but unfortunately Radiant uses AR.
Sean
Andrew Neil wrote:
Sean,
Rails
Ben Morrow wrote:
> David Piehler wrote:
>
>> Silly question -- when working with the wiki, how do you create new
>> pages? Do you just make a link to them and it recognizes a new page has
>> been made... or something?
>
> It took me a while to figure this out too. Since it is a Rails app
> ap
Sean,
Rails 2.0.x allows you to use hashes in conditions, even for nil
attributes, so you could refactor that like so:
count(:conditions => {:unsubscribed_at => nil, :subscriber_list_id
=> subscriber_list.id })
Is there a way to say "NOT NULL"?, e.g.
:condition => ["unsubscribed_at IS N
On 16 Jun 2008, at 23:03, Sean Cribbs wrote:
Rails 2.0.x allows you to use hashes in conditions, even for nil
attributes, so you could refactor that like so:
count(:conditions => {:unsubscribed_at => nil, :subscriber_list_id
=> subscriber_list.id })
Thanks for the tip Sean. I'll do that
David Piehler wrote:
> Silly question -- when working with the wiki, how do you create new
> pages? Do you just make a link to them and it recognizes a new page has
> been made... or something?
It took me a while to figure this out too. Since it is a Rails app
appending "/new" to the URL is th
Rails 2.0.x allows you to use hashes in conditions, even for nil
attributes, so you could refactor that like so:
count(:conditions => {:unsubscribed_at => nil, :subscriber_list_id =>
subscriber_list.id })
Sean
Andrew Neil wrote:
Nate,
Did you make any headway on this?
Try running this in
Sean Cribbs wrote:
> Jonathan McCoy wrote:
>> settings.
>>
> You just described the file_system extension written for Redken to a T.
> I would like to release it but I'm not ready to support it yet or to
> detox the code.
>
> Sean
Nice!
My next mission is to design/build a platform for conten
On Mon, 2008-06-16 at 20:00 +0100, Andrew Neil wrote:
> What database are you using? I've only tested on
> MySQL.
>
I am using Sqlite.
> Looking at the definition of the method count_active_subscribers, I'm
> wondering if it is MySQL specific:
>
> def count_active_subscribers(subscrib
Nate,
Did you make any headway on this?
Try running this in script/console:
>> s = Page.find_by_class_name("SubscriberListPage")
=> #"newsletter", breadcrumb: "Newsletter", class_name:
"SubscriberListPage", status_id: 100, parent_id: 1, layout_id: nil,
created_at: "2008-06-15 14:38:39", upd
Mohit Sindhwani wrote:
> But, it seems that there's something in editing a page that
> accesses radiantcms.org. I'm sure it's not malicious, but it does
> sometimes prevent me from getting on and editing the page because my
> browser shows 'loading...' for quite a while.
>
> I've done some lookin
Casper Fabricius wrote:
> Very nice, Mohit. If everyone can approve of this as starting outline
> for Radiant documentation, I suggest you put into a page in the wiki.
> Then we can add our names to the sections we would to like write, and
> add further sections we think is needed.
I totally misse
Mohit Sindhwani wrote:
> Sorry for the delay in pushing this out. This is roughly the first
> draft of the plan that I had. This is not split up into the sections
> that I had mentioned. I think some of these can be mixed and matched
> into the different sections. In general, this targets a per
On Mon, Jun 16, 2008 at 12:58 PM, Andrea Franz <[EMAIL PROTECTED]>
wrote:
> Thank you for contributing to the extension.
> Did you fork it from github? I'd like to fetch you changes.
> Send me a pull request!
I actually generated the Subscriber Lists extension from scratch, and
plagiarized the b
On Sun, Jun 15, 2008 at 6:45 PM, Andrew Neil
<[EMAIL PROTECTED]> wrote:
> Nate,
>
> Glad you like it.
>
>> You are my frickin' hero!
>
> :-)
> Andrea is the hero. I just took a hatchet to his code!
"Save the newsletter extension, save the world!" We are all heroes! haha :)
Sorry for my late reply!
19 matches
Mail list logo