Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial is not refresh on UI #221

Open
grepruby opened this issue Mar 4, 2016 · 0 comments
Open

Partial is not refresh on UI #221

grepruby opened this issue Mar 4, 2016 · 0 comments

Comments

@grepruby
Copy link

grepruby commented Mar 4, 2016

On sync_update @item, I got that partial is rendering ( User debugger/binding.pry ) but not update on UI level. Like When my item is update then that partial is called but not update on browser page.

Controller :-

def create
stuff for updating an item object.......
sync_update @item
end

View :-

<% @top_bidding_items.each do |item| %>
<%= sync partial: 'top_item_bids', resource: item %>
<% end %>

When I put 'binding.pry" in "top_item_bids" I got that page when item is updated, but doesn't reflect on view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant