[Rails] rails 3.0.9 usability problem

2011-07-27 Thread 7stud --
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

[Rails] [Rails 3.0.9] I have trouble about fields_for

2011-07-25 Thread harashin
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 !--

Re: [Rails] [Rails 3.0.9] I have trouble about fields_for

2011-07-25 Thread Mauro
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

Re: [Rails] [Rails 3.0.9] I have trouble about fields_for

2011-07-25 Thread Sameer Rafiq
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 %=

Re: [Rails] [Rails 3.0.9] I have trouble about fields_for

2011-07-25 Thread 原田伸也
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

[Rails] rails 3.0.9 ArgumentError (redundant UTF-8 sequence):

2011-07-14 Thread dc dieci
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

Re: [Rails] rails 3.0.9

2011-06-16 Thread Bernd Ritter
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

Re: [Rails] rails 3.0.9

2011-06-16 Thread Mauro
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

[Rails] rails 3.0.9

2011-06-15 Thread Mauro
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

Re: [Rails] rails 3.0.9

2011-06-15 Thread Conrad Taylor
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

Re: [Rails] rails 3.0.9

2011-06-15 Thread Mauro
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

Re: [Rails] rails 3.0.9

2011-06-15 Thread Conrad Taylor
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,