# Working With Edge ; Working With Active Resource

**URL:** <https://www.ruby-forum.com/t/working-with-edge-working-with-active-resource/70405>\
**Category:** Rails\
**Created:** [September 28, 2006, 11:27pm UTC](https://www.ruby-forum.com/t/working-with-edge-working-with-active-resource/70405 "2006-09-28T23:27:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![HHHHHH](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/50afbb/32.png) [@HHHHHH](https://www.ruby-forum.com/u/HHHHHH)\
**Post date:** [September 28, 2006, 11:27pm UTC](https://www.ruby-forum.com/t/working-with-edge-working-with-active-resource/70405/1 "2006-09-28T23:27:59Z")

</div>

I want to really start trying the stuff in edge and of course freezing  
an  
app to edge is simple.

A couple of questions:

1. What’s the best/easiest way to use the new edge generators, etc…  
When I  
run script/generate, even on an app frozen to edge, I get the stuff from  
my  
gem install. I know the script files are buried somewhere in the  
vendor/rails/\* stuff but I was wondering how people usually handle this.

2. What’s the best way to get ActiveResource running? I know that it’s  
not a  
standard part of edge. I can grab it from SVN but there is configuration  
beyond that to have it be available, yes?

Thanks!

H

---

<div class="post-metadata">

**Author:** ![HHHHHH](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/50afbb/32.png) [@HHHHHH](https://www.ruby-forum.com/u/HHHHHH)\
**Post date:** [September 28, 2006, 11:40pm UTC](https://www.ruby-forum.com/t/working-with-edge-working-with-active-resource/70405/2 "2006-09-28T23:40:03Z")

</div>

On 9/28/06, HH [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I want to really start trying the stuff in edge and of course freezing an  
> app to edge is simple.
> 
> A couple of questions:
> 
> 1. What’s the best/easiest way to use the new edge generators, etc… When I  
> run script/generate, even on an app frozen to edge, I get the stuff from my  
> gem install. I know the script files are buried somewhere in the  
> vendor/rails/\* stuff but I was wondering how people usually handle this.

Which generator are you talking about ?  
If you have the latest edge (don’t ask me the version right now) you  
can get your restful crud set up with script/generate  
scaffold\_resource mymodel (whatever your model is)

This will generate the controller - mymodels  
the model, migration and all the views.

Stuart

---

<div class="post-metadata">

**Author:** ![HHHHHH](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/50afbb/32.png) [@HHHHHH](https://www.ruby-forum.com/u/HHHHHH)\
**Post date:** [September 29, 2006, 12:14am UTC](https://www.ruby-forum.com/t/working-with-edge-working-with-active-resource/70405/3 "2006-09-29T00:14:06Z")

</div>

You’re right, this did work. I don’t know if I did this wrong before but  
it  
is working now just fine - thanks.

Any ideas on the ActiveResource stuff?

---

<div class="post-metadata">

**Author:** ![HHHHHH](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/50afbb/32.png) [@HHHHHH](https://www.ruby-forum.com/u/HHHHHH)\
**Post date:** [September 29, 2006, 12:22am UTC](https://www.ruby-forum.com/t/working-with-edge-working-with-active-resource/70405/4 "2006-09-29T00:22:08Z")

</div>

On 9/28/06, HH [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> You’re right, this did work. I don’t know if I did this wrong before but it  
> is working now just fine - thanks.
> 
> Any ideas on the ActiveResource stuff?

You may want to check this link:  
[http://www.ryandaigle.com/articles/2006/06/30/whats-new-in-edge-rails-activeresource-is-here](http://www.ryandaigle.com/articles/2006/06/30/whats-new-in-edge-rails-activeresource-is-here)

I haven’t read it through completely but it should help.

Stuart

> > > 
> > 
> > scaffold\_resource mymodel (whatever your model is)
> > 
> > This will generate the controller - mymodels  
> > the model, migration and all the views.
> > 
> > Stuart
> 
> >

–

> **[Dark ambient](https://en.wikipedia.org/wiki/Dark_ambient)**
>
> Dark ambient (referred to as ambient industrial especially in the 1980s) is a genre of post-industrial music that features an ominous, dark droning and often gloomy, monumental or catacombal atmosphere, partially with discordant overtones. It shows similarities with ambient music, a genre that has been cited as a main influence by many dark ambient artists, both conceptually and compositionally. Although mostly electronically generated, dark ambient also includes the sampling of hand-pla 
> The te...

---

<div class="post-metadata">

**Author:** ![HHHHHH](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/50afbb/32.png) [@HHHHHH](https://www.ruby-forum.com/u/HHHHHH)\
**Post date:** [September 29, 2006, 12:22am UTC](https://www.ruby-forum.com/t/working-with-edge-working-with-active-resource/70405/5 "2006-09-29T00:22:08Z")

</div>

On 9/28/06, HH [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Any ideas on the ActiveResource stuff?

iirc, for ActiveResource you need to svn export edge rails, or set svn  
externals. It’s not included when you freeze edge (don’t ask me why).

Pat

---

<div class="post-metadata">

**Author:** ![HHHHHH](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/50afbb/32.png) [@HHHHHH](https://www.ruby-forum.com/u/HHHHHH)\
**Post date:** [September 29, 2006, 12:54am UTC](https://www.ruby-forum.com/t/working-with-edge-working-with-active-resource/70405/6 "2006-09-29T00:54:12Z")

</div>

Thanks. I’m still on the hunt for instructions on getting ActiveResource  
going. I can get the code easily enough but I’m not sure how to get  
Rails to  
load it as it loads the other modules. I’ll try and figure it out.
