Try
rake routes
- and you will see, there really isn't defined a student_acounts_path
Try:
resources :students do
resources :accounts
end
or alternatively in your show (if you want to add a show, edit or
update-action in your accounts_controller without an :id param)
form_for [@student,
:doc_type %>
<%= doc.text_field :doc_type %>
<%= doc.error :doc_type %>
<% end %>
<%= f.submit %>
It adds deliveries but not document.
Some advices?
--
best regards
Bente Pieck
--
You received this message because you are subscribed to the Google Group
the first is not
defined ...
but is it a Ruby function or a Rails function
I know a anArray.fetch( aString) but not this one ....
On 2 fév, 16:07, Bente Pieck wrote:
Is this part of a capistrano script?
<https://github.com/capistrano/capistrano/wiki/2.x-DSL-Configuration-V...>If
so then
t;config/#{fetch(:db_file,
'database.yml')}")
=>fetch(:db_file, 'database.yml') ...what's is this function
fetch() ?
I know the fetch(key, *extras) in ActiveSupport, but this is not the
case.... any suggestion ?
thanks
--
best regards
Bente Pieck
--
You
ase
off those dates. But the problem I cant figure out is how to exclude the
weekends(Sat, Sun) The report should just give data for Mon-Fri.
Thanks in advance for any help!
--
best regards
Bente Pieck
--
You received this message because you are subscribed to the Google Groups "Ruby on
R
slice!(:if,:unless,:on,:allow_blank,:allow_nil)
only these 5 options are possible global-options. :message is not one of them.
So I am sure, your way won't do what you want it to do.
On 28/01/11 17:03, Paul Bergstrom wrote:
Bente Pieck wrote in post #978180:
On 28/01/11 15:54, Paul Bergstrom wro
w?
http://railscasts.com/episodes/211-validations-in-rails-3
or use the plugin dynamic_form and the old <%= f.error_messages
%>-Helper in your form
--
best regards
Bente Pieck
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Talk" gro
{:message => "First name is missing"} ?
--
best regards
Bente Pieck
--
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 th
.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
--
best regards
Bente Pieck
--
You
e %>
<% end %>
...
<% end %>
and with:
if @employee.update_attributes(params[:employee])
do something
else
render :edit
end
And I hope you will get, what you want to get.
--
best regards
Bente Pieck
--
You received this message because you are subscribed to th
sense for your application or not...
>>
>> -philip
>
> --
> 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-t...@googlegroups.com.
> To unsubscribe f
Hi,
Sorry I am realy new in rails (and not good in active English, too
*g*). I need to administrate users with two roles. I have seen Aegis
and it seems to be very good for my needs
- but as long as I haven't found the clue, I can give there every user
only one role.
Do you know another pl
12 matches
Mail list logo