Philippe Lang
Not a member
Philippe Lang's latest activity
Saturday, October 23 2010
-
Philippe Lang commented at 4:51 PMSorry, this was my mistake. I had to add :role_ids in the list of accessible attributes and now it works great.
attr_accessible :email, :password, :password_co... -
Philippe Lang commented at 4:41 PMHi Cesario,
The only thing I did not mention is that the users table has been generated by devise. The model looks like this:
class User < ActiveRecord::Base ...
Friday, October 22 2010
-
Philippe Lang created the ticket at 4:00 PMHi,
I have the following models:
class User < ActiveRecord::Base has_and_belongs_to_many :roles end class Role < ActiveRecord::Base has_and_belongs_to_many...
Friday, October 15 2010
-
Philippe Lang created the ticket at 8:31 AMHi,
Rails UJS driver generates 5 differents javascript events during an ajax call:
- ajax:before
- ajax:complete
- ajax:success
- ajax:failure
- ajax:after
In order to ...
Thursday, September 23 2010
-
Philippe Lang commented at 8:51 AMHum, I think I understand better now. As you say "JS code on clients side operates with already rendered strings". That means rails tries to pre-render both par...
-
Philippe Lang commented at 7:21 AMWhen rendering list.html.erb, I thought that only the _list_add.html.erb partial was rendered, with a link allowing the rendering of the next partial through UJ...
-
- Tag changed from illegal response, partial, ujs to illegal instruction, partial, ujs
Hi Marjan,
Each partial renders the other, but only after a click, since "link_to_function" is used. This shouldn't be a problem as far as I understand. But you...
Wednesday, September 22 2010
-
Philippe Lang created the ticket at 10:34 AMHi,
I'm new to rails, so this might be my fault instead of a bug. But at least it sounds odd. Here are a few files:
list.html.erb
<table> <% @boxes.each do |bo...