I want to really start trying the stuff in edge and of course freezing
an
app to edge is simple.
A couple of questions:
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.
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?
I want to really start trying the stuff in edge and of course freezing an
app to edge is simple.
A couple of questions:
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.
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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.