Questions tagged [activescaffold]

A Ruby on Rails gem that lets you create user interfaces for CRUD (Create, Read, Update and Delete) operations.

It offers features including searching, pagination and layout control.

https://github.com/activescaffold/active_scaffold

140 questions
3
votes
1 answer

rails 3 is printing html tags to screen instead of rendering them

I'm using vhochstein's fork of active_scaffold, which runs quite nicely on rails 3, except for a few small bugs - http://github.com/vhochstein/active_scaffold. In rails 2.3, the following code disables a link: return "
stephenmurdoch
  • 34,024
  • 29
  • 114
  • 189
2
votes
1 answer

ActiveScaffold::ReverseAssociationRequired error for new record creation

I have three models : class LevelTwoArea < ActiveRecord::Base has_many :places, dependent: :restrict end class Place < ActiveRecord::Base belongs_to :level_two_area has_many :producers, dependent: :restrict validates_presence_of…
m_x
  • 12,357
  • 7
  • 46
  • 60
2
votes
1 answer

Active Scaffold: config.link.inline = false is not working

Using Rails 3.1.0, with Active Scaffold (from the git repo). My controllers have code that look like this: active_scaffold :template do |config| config.create.link.inline = false config.actions = [:list, :search, :create, :delete] …
Kevin Whitaker
  • 12,435
  • 12
  • 51
  • 89
2
votes
2 answers

ActiveScaffold - changing default name of associated object

My model "combobox" has_many "comboboxselects", and "comboboxselects" belongs_to "combobox". Activescaffold of "comboboxes" displays data in comboboxselects-column like "#". How to make display the "answer" column from…
kubum
  • 469
  • 2
  • 13
2
votes
1 answer

How to format big int values in Activescaffold plugin rails 3

I am using rails 3 activesacaffold plugin for my admin pannel. I have a table which has big int values. When I list the values its showing as '62,175,049,070'. How can I format this to show like '62175049070'. Since we are using activescaffold…
Amal Kumar S
  • 15,555
  • 19
  • 56
  • 88
2
votes
1 answer

activescaffold: no response when clicking search, create, edit, show

I'm using activescaffold to display my models, model list can be displayed correctly, but the problem is: there is no response when I click search, create, edit, show. But "delete" works well. Does anyone know the reason? my rails version => The…
aaron
  • 1,951
  • 3
  • 27
  • 41
2
votes
1 answer

filter on relation, activescaffold

I have this code: class ArticlesController < ApplicationController active_scaffold :articles do |config| config.label = "Manage my articles" config.actions.exclude :show form_cols = [:name, :summary, :content, :author, :category,…
Mauro
  • 131
  • 2
  • 13
2
votes
1 answer

How do you change the displayed order of ActiveScaffold "actions"?

I am using ActiveScaffold in a Ruby on Rails app, and have replaced the default "actions" text in the table (ie. "edit", "delete", "show") with icons using CSS. I have also added a couple of custom actions with action_link.add ("move" and…
Brent
  • 16,259
  • 12
  • 42
  • 42
2
votes
2 answers

Does ActiveScaffold work with Rails 3?

Does ActiveScaffold work with Rails 3?
Pedro Rolo
  • 28,273
  • 12
  • 60
  • 94
2
votes
2 answers

How I can create a CRUD (like scaffold) for Users with devise?

I just wanna that an admin can create, read, update,and delete (CRUD) normal users with the gem devise. I saw a tutorial with scaffold, but scaffold is just for CRUD, not for a login :/ I know, this question its so bad, but I not have idea
Daniel Ortin
  • 69
  • 10
2
votes
2 answers

Routing problem in ActiveScaffold with Rails 3.0

I'm trying out ActiveScaffold with Rails 3.0, still trying to get it to work at all. I'm getting an error No route matches {:active_scaffold=>true, :action=>"show_search", :controller=>"locations"} when I browse to http://localhost:3000/locations.…
Mike Blyth
  • 4,158
  • 4
  • 30
  • 41
2
votes
3 answers

How do I tell ActiveScaffold to always show the search form in a list view?

The ActiveScaffold list view has a search form that is loaded via ajax when a user click the search link. I'd prefer to have the form show by default when a user opens a list page. I've figured out a way to trigger the ajax call when the page loads,…
Joe Mahoney
  • 903
  • 6
  • 14
2
votes
2 answers

Is there an ActiveScaffold equivalent for Django?

A while ago I created a frontend for a database using RoR and ActiveScaffold. ActiveScaffold let me easily create lots of the features I needed: Read Only Access, Sexy Interface, Sorting, Advanced Search, Pagination etc. I would now like to do the…
FunLovinCoder
  • 7,597
  • 11
  • 46
  • 57
2
votes
1 answer

active_scaffold Error in Flash messages (no implicit conversion of Symbol into Integer)

Rails 4.1.6 Ruby 2.2.2 active_scaffold 3.4.28 I have error when enter in a view of active_scaffold no implicit conversion of Symbol into Integer <% for name in [:info, :warning, :error] %> <% if flash[name] %> <<< ------- Got The Error
1
2
3
9 10