-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm using ActiveScaffold to create an Admin UI.
I have two models: Post and Comments.
A Post has-many Comments, and a Comment belongs-to a post.
There's a validates_presences_of :text validation the Comment model.
The problem is that when I create a new Post from the Admin UI without creating…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hey there
I was curious about the ActiveScaffold Rails plugin, but somehow I can't get it to work properly. I've followed the steps which are described on http://activescaffold.com/tutorials/ . The table and everything shows up and when I click on "Create new", the dialog pops up. However, when I…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I need to display & edit highly precise decimal numbers - latitude and longitude. ActiveScaffold keep rounding my values to precision 6 scale 3, can I change that to precision 11 scale 8 somewhere?
Thanks
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a custom action link which is :inline and :post. It's a quick-link to update an attribute, and that part works just fine. After the action, my intent is to respond just like it was an update, so the row is re-rendered in the index.
After the record is updated in my controller action, I call
respond_to_action(:create)
Just…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
So I have this create form to create schedules where there is a bunch of fields and one of them is seasons. And seasons table has a field called 'is_current' which if set to 1 tells us that it is the current season. When the create form is display , I want the current season to be selected by default…
>>> More