If there is an error with the submitted password on a form, then both
the password and password confirmation text fields should be highlighted
in red. The default seems to be to highlight only the password field.
Any suggestions on how to correct that? Because rails magically handles
the
Hi,all. I'm new bee to Rails and I have trouble about fields_for
method..
It isn't show up between the %= f.fields ~ % end %
Please teach me some advice.
Thanks!
#new/_form.html.erb
%= form_for(@user) do |f| %
div class=field
%= f.label :name %br /
%= f.text_field :name %
/div
!--
On 25 July 2011 10:07, harashin haradashi...@gmail.com wrote:
Hi,all. I'm new bee to Rails and I have trouble about fields_for
method..
It isn't show up between the %= f.fields ~ % end %
Please teach me some advice.
Thanks!
#new/_form.html.erb
%= form_for(@user) do |f| %
div
You can't refer entries as entry in your form. I think you want a
has_one relationship between user and entry.
On Mon, Jul 25, 2011 at 1:07 PM, harashin haradashi...@gmail.com wrote:
Hi,all. I'm new bee to Rails and I have trouble about fields_for
method..
It isn't show up between the %=
Thanks Maruo,Sammer! I edit the entry to entries. And I add new Action to
@post.tags build
then it worked fine!
But I don't know @post.tags.build mean. Please teach me about this mean?
#post_controller.rb
def new
@post = Post.new
@post.tags.build
tags is table name.
table name : tags
Hi guys,
I have a simple controller
def gmap
@intentsearches = Intentsearch.all
logger.info @intentsearches
respond_to do |format|
format.html {render :gmap}
format.xml{render :xml = @intentsearches }
format.json { render :json = @intentsearches }
end
Hi Mauro,
i had the exact same issue with escape_javascript devastating all my
partials. The fix is incredibly easy and managable for the impatient ;)
https://github.com/rails/rails/commit/8c8652c37f6f6969ce48
apply this one-liner and you are fine until 3.0.9 comes out.
Cheers,
Bernd
On 15 June 2011 20:16, Bernd Ritter com...@gmail.com wrote:
Hi Mauro,
i had the exact same issue with escape_javascript devastating all my
partials. The fix is incredibly easy and managable for the impatient ;)
I'm not so expert to find issues and fix them.
--
You received this message
Today was expected the new stable rails release 3.0.9 with some fixed,
among all the problem with escape_javascript.
It seems that it see that has not been released, unfortunately.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to
Sent from my iPhone
On Jun 15, 2011, at 12:56 PM, Mauro mrsan...@gmail.com wrote:
Today was expected the new stable rails release 3.0.9 with some fixed,
among all the problem with escape_javascript.
It seems that it see that has not been released, unfortunately.
Mauro, please keep the
On 15 June 2011 20:10, Conrad Taylor conra...@gmail.com wrote:
Sent from my iPhone
On Jun 15, 2011, at 12:56 PM, Mauro mrsan...@gmail.com wrote:
Today was expected the new stable rails release 3.0.9 with some fixed,
among all the problem with escape_javascript.
It seems that it see that
On Wed, Jun 15, 2011 at 1:14 PM, Mauro mrsan...@gmail.com wrote:
On 15 June 2011 20:10, Conrad Taylor conra...@gmail.com wrote:
Sent from my iPhone
On Jun 15, 2011, at 12:56 PM, Mauro mrsan...@gmail.com wrote:
Today was expected the new stable rails release 3.0.9 with some fixed,
12 matches
Mail list logo