resume and code sample in an introductory email to
[EMAIL PROTECTED]
Thanks,
AndyV
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyon
The first line is including some instance methods into
ActionController::Base (from which ApplicationController inherits).
The second line then adds helper_name to the list of helpers available
to all controllers.
The final line does the same thing for the views.
On Dec 8, 4:12 am, Sijo Kg <[EMAI
Sounds like you want to look into using a before_filter. The job of
the filter would be to redirect the action2 users to action2 and allow
the rest to default to action1.
On Dec 8, 2:22 am, raghus <[EMAIL PROTECTED]> wrote:
> Yes, I can call action2 in action1 in foo controller. But how about
>
aav also requires an xxx_versions table (e.g., foo_versions if you're
versioning foos). Check the documentation; there's a class-level
method added to models that acts_as_versioned that will create the
version table for you if you add it to a migration.
On Dec 7, 8:24 pm, Ben Wilson <[EMAIL PROT
Yes, you can mix hand-rolled sql queries (find_by_sql) with rails
generated queries (find) as much as you like.
On Nov 12, 6:49 am, Shilo Ayalon <[EMAIL PROTECTED]>
wrote:
> Hi -
>
> I'm thinking about porting an ASP.NET app to rails. This will require
> complete re-write of the site's code, and
There's really no magic here. The default response to an update in
the scaffolded controller is to redirect to the show event. If you
want to do something different (ie., the convention doesn't work for
you) then go to the scaffolded controller and change it. I'd guess
you want to redirect to t
Looks like a good place to give this a spin:
http://railscasts.com/episodes/121-non-active-record-model
Basically, use a pure-ruby class to wrap the location types and let it
support an ActiveRecord like interface (mainly find and all). Then
you can do collection_select the way you would with a
7 matches
Mail list logo