Getting RJS / EgdeRails working

Can¹t you just copy the files manually and be on your way? Seems like a
lot
of time to spend on an issue that will go away when Rails 1.1 goes
final.

From: Brian B. [email protected]
Reply-To: [email protected]
Date: Sun, 5 Mar 2006 21:27:59 -0330
To: [email protected]
Subject: Re: [Rails] Getting RJS / EgdeRails working

Just an FYI – seeing your post I upgraded from 1.8.2 to 1.8.4. Sigh.
Same
error remains for me.

Sure.

When about will Rails 1.1 be released ? I think I stop trying to get it
running now and wait for 1.1…

Am 06.03.2006 um 03:37 Uhr schrieb Cody F.:

Jan,

Did you include the javascripts in your layout?

<%= javascript_include_tag :defaults %>

Jan

you describe.

Jan,
problem on Windows. I don’t personally develop on Windows, so I

Prototype was on 1.4.x. So I copied the newer js from my former
I guess something went wrong earlier, but I haven’t any idea… Newer

with the -r flag to svn.

would give the error Jan and I are now seeing.

=> Booting WEBrick…

    from

quire’
Cody F.
[email protected]


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

Jan,

Did you include the javascripts in your layout?

<%= javascript_include_tag :defaults %>

On 3/5/06, Jan D. [email protected] wrote:

views/jstest/add.rhtml

haven’t looked.

EdgeRails-trials (in vendor/rails) into my javascripts-dir, so I had
thought that this could become such a tragedy on windows (<- could

On 3/4/06, Brian B. < [email protected]> wrote:

    from

Brian K. Buckley
[email protected]


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails


Cody F.
http://www.codyfauser.com

2006/3/6, Jan D. [email protected]:

views/jstest/add.rhtml
views/jstest/add.rjs

I’m probably wrong, but are you allowed to have both add.rjs and .rhtml?
I
thought you couldn’t.

What steps would a person need to take to build the rails/Action* gems
from
an svn co? gem build? ruby release.rb? Would there be some
configuration
possible to say build the rails gems from the latest SVN co and put the
reults into my local gem repo?

I remember DHH used to keep beta gems hosted on his site in the run up
to
0.14.0, perhaps if individuals could do that after checking out the
source?
A new rake rails:build:local:gems task would be cool… and these type
of
email threads would get shorter and shorter… :slight_smile:

-Steve
http://www.stevelongdo.com

i’m also very interrested by this topic…any tutorial on how to
design the database to support that?

I would also make sure you are using the most most up to date version of
rake.
I seem to recall a new one came out a month or so ago.

gem update rake

_Kevin

by the way … filling the database with 1000 items is not always
bad…they are built for that no?
and that allows to find things instantly with a single query.
when recurring events are just defined by a rule it’s longer to
manipulate them…no?

another option is to instantiate new events lazily (if that’s a word).
Whenever you look at the calendar for a day, you instantiate the dates
for
that day. This has the advantage of letting you look ahead, whereas the
recurring approach, while much simpler, will show the calendar as empty
in
the future.

Since this is probably very expensive, you might want to have a window
of
time where you scheduled ahead, and only go beyond that as needed. You
may
also want to index your repetitive event rules by day of week and day of
month so that you know which ones you need to look at.

The simplest solution is - make the recurring event reschedule itself.

example:
database table looks like this:
table event:
name
datetime
recurrting - true/false
frequecy - 1hr

event1 - scheduled to run every hour
the the event runs for example at 15pm and after it is done it

reschedules
itself to run again at 16pm.

With this kind of setup the reccurring event takes one row in the
database, and you can easily
cancel or change it.


best regards,
Alex Zhukov
[email protected]