Displaying 4 results from an estimated 4 matches for "phoesan".
Did you mean:
phocean
2012 Apr 09
0
How I update Multi Tables In A Form
...1. user table
( usertable has id , name, email, address)
2. game table
(gametable has id, description, game_date, gametiming , user_id)
for edit .. I can display all two table data...
Wanna update data params by userID.
I do update two table data in a form.
How I do it ? Give Me A Hand!
phoesan
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, s...
2012 Jul 17
0
Email Exception
...send email, I wanna keep on
process.
UserMailer.message_email(@to_user,subject,message).deliver
player = Player.new()
player.user_id = current_user.id
player.game_id = @game.id
player.ishost = true
I wanna do player process.
How I catch exception for like this.
Regards,
Phoesan
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, s...
2012 Jun 26
0
no such file load errors - md5
...s = Adminuser.all
end
end .......................
And I run rails s -e production , I see no such file to load md5.
I remove require digest/md5 , I see this error also.
In my project I use
rails 3.2.2 and
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11]
Pls help me, all
Sincerely
phoesan
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, s...
2012 Apr 06
3
I can't update data in table
In my edit page: url = profile/:id/edit
the content is !
<%= form_for(@user, :as => :user, :url => profile_path(current_user),
:html=>{:method => :put}) do |form| %>
<%= form.text_field :email, :class=>"input"%>
<%= form.submit ''Update Profile''%>
<% end %>
............................
In controller section !
class