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

Handle config/schema changes gracefully #35

Open
schmijos opened this issue Nov 15, 2024 · 0 comments
Open

Handle config/schema changes gracefully #35

schmijos opened this issue Nov 15, 2024 · 0 comments
Assignees

Comments

@schmijos
Copy link
Member

schmijos commented Nov 15, 2024

I removed a database column without restarting the server. Visting hotsheet/rows then raised:

ActionView::Template::Error (undefined method `editable_attributes' for class Row):
     6:   <table>
     7:     <thead>
     8:       <tr>
     9:         <% @model.editable_attributes.each do |attribute| %>
    10:           <th><%= attribute %></th>
    11:         <% end %>
    12:       </tr>

It would be cool if Hotsheet could reload its config in development.

@schmijos schmijos changed the title Handle schema changes gracefully Handle config/schema changes gracefully Nov 15, 2024
@simon-isler simon-isler self-assigned this Nov 15, 2024
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

2 participants