Hi,
i m new for roby on rails. i m confused, plz anyone can tell me
about how to communicate view folder files to controller folder files or
communication between view and controller or model...
--
You received this message because you are subscribed to the Google Groups
On 24 July 2014 12:50, ankush rathore rathore.ankus...@gmail.com wrote:
Hi,
i m new for roby on rails. i m confused, plz anyone can tell me
about how to communicate view folder files to controller folder files or
communication between view and controller or model...
I
Hi,
I have two doubts about the right way / place to write some
code.
Question 1:
I have a product and in the view I need to show a listbox with
all the categories of this product.
- Option1: in the controller make "@product_categories
=
On 2 February 2012 08:50, Miquel Cubel mcu...@gmail.com wrote:
Hi,
I have two doubts about the right way / place to write some code.
Question 1:
I have a product and in the view I need to show a listbox with all the
categories of this product.
- Option1: in the
Thanks for the answer
El 02/02/2012 10:09, Colin Law escribió:
On 2 February 2012 08:50, Miquel Cubelmcu...@gmail.com wrote:
Hi,
I have two doubts about the right way / place to write some code.
Question 1:
I have a product and in the view I need to show a listbox with all
On 2 February 2012 15:14, Miquel Cubel mcu...@gmail.com wrote:
Thanks for the answer
El 02/02/2012 10:09, Colin Law escribió:
On 2 February 2012 08:50, Miquel Cubelmcu...@gmail.com wrote:
Hi,
I have two doubts about the right way / place to write some code.
Question 1:
I
What's the right RoR way if a controller needs to display one of many
views in, say, an index method?
--
Posted via http://www.ruby-forum.com/.
--
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
2010/1/18 Ralph Shnelvar li...@ruby-forum.com:
What's the right RoR way if a controller needs to display one of many
views in, say, an index method?
Do you mean you want several different views all of which are 'index'
views but arranged differently? If so then one method is to pass
parameters
For each controller in the line,
it's defined methods be actions
for the implicit render of the view
with the names that match def and view,
If you write this way, you'll save some typing
If you practice everyday, you may find a better way.
If you want to write about a Resource, it helps
to
Hi,
I just wanted to see if I am on the right track, as I am new to MVC.
I have a model called Tasks, and another called Entries. Tasks has
many entries.
Each entry has a time. So I want to total up the time entries so that
I have a keyed array of task Ids = duration.
In the end, I want to
Hi,
i am wondering about the MVC pattern, I havent worked with that for a
long time and before I break it I would like to ask your advice...
if I have a birthday calender visible in nearly every view where would
I put the controller? I was thinking about putting the method it into
application
Dear all
In the MVC architecture framework, the Model is actually communicate
with database. In my rails project, there is a model/ssh.rb that is not
connect with database. Is it a good practice for this arrangement in my
project? Am I violate the rules of MVC architecture? Or is it better to
12 matches
Mail list logo