I was developing in windows for a long time but it had many constrains
and problems. The best advice is of Michael Pavling, to use a machine
similar to the server that you will do the deployment. I can't give up
windows so I installed a ubuntu 10.04 server edition in a virtual
machine and it is working like a charm. I have a local server on
ubuntu with all the advantages, samba to use the files like windows
files and I check the site as I would in any other site from my
windows machine without any problem.
On 1 Αύγ, 08:16, ncage <choclab...@gmail.com> wrote:
> Hello people. I'm just getting into cutting my teeth in ROR
> development. Currently all my machines are Windows 7 machines. I know
> most of the hard core ROR in general use Macs. I definitely won't be
> able to use a mac. Would you recommending using an ubuntu machine or
> is a windows machine good enough to get started with ROR Development?
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Really hoping this is a bug not a new policy
I can see why "new" might want to be a reserved word in some way
But in this case, I really do need rails to map the "new" path so it
allows creating sub member items
EG:
/section/1/new/
is so much cleaner compared to
/section/new/?parent=1
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
hi
book and page is one_to_many relationship.I want to create them in a
single form.But when clicking create button,the submitted params for
pages are not grouped correctly,
i want
"book"=>{"new_pages"=>[{"name"=>"", "color"=>""},
{"name"=>"","color"=>""}]
but it is
"book"=>{"new_pages"=>[{"name"=>""}, {"name"=>"", "color"=>""},
{"color"=>""}]\
My page and params are listed below.please help me,this take me a whole
day.
new_book page:
<div><%=error_messages_for :book-%></div>
<%form_remote_for :book,@book,:update=>"book{@book.id}",:url=>books_path
do|v|%>
<table>
<tr>
<td><%=v.label "name"-%></td>
<td><%=v.text_field :name-%></td>
</tr>
</table>
<div id="pages">
<%=render :partial=>'page',:collection=>@book.pages-%>
</div>
<%=submit_tag 'create'-%>
<%end-%>
page partial
<%fields_for "book[new_pages][]",page do|o|-%>
<table>
<tr>
<td><%=o.label "name"%></td>
<td><%=o.text_field :name%></td>
<td><%=o.label "color"%></td>
<td><%=o.text_field :color%></td>
</tr>
</table>
<%end-%>
"book"=>{"new_pages"=>[{"name"=>""}, {"name"=>"", "color"=>""},
{"color"=>""}]...
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.