Is there anyone who knows how to get around this restriction?
I''d be interested in this as well.
regards,
Martin
On 11/3/05, Stefan Schuster
<st.schuster-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi!
>
> I''ve experienced the components in Rails to be parts of an
application
> which need some logic to render (the action behind it) which can be
> include from different locations in the application. To tie up with
> the web-shop example of the "Agile development" book there
they''ve
> used it to render the summary of the cart.
>
> My problem with this is, that all the components are based on public
> accessible actions and therefore I could get the partial HTML output
> directly through the browser by knowing or guessing the URL of the
> Controller/Action. Of course I could use Partials and Helper functions
> for less complex tasks and in the majority of cases the component
> accessibility also won''t influence the application behaviour. But
in
> my understanding this is just not very nice.
>
> So is there anything in Rails which covers my concern I haven''t
discovered yet?
>
> Thanks for all comments in advance!
>
> regards,
> Stefan
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German