Hi
Group
I installed the active scaffold in my rails application by
cloning the git git://github.com/activescaffold/active_scaffold.git
and added the lines like
1) <%= javascript_include_tag :defaults %>
<%= active_scaffold_includes %> in my application.html.erb
2) My User controller looks like this->
class UserController < ApplicationController
active_scaffold :user do |config|
config.theme = :blue
config.list.columns =
[:id, :login, :email, :created_at, :updated_at]
config.columns[:id].inplace_edit = true
end
end
Indeed the javascripts are added in the views, if i do the view page
source i can see javascript files are added ->
.......................
.......................
<script src="/javascripts/prototype.js?1231356849" type="text/
javascript"></script>
<script src="/javascripts/effects.js?1231356849" type="text/
javascript"></script>
<script src="/javascripts/dragdrop.js?1231356849" type="text/
javascript"></script>
<script src="/javascripts/controls.js?1231356849" type="text/
javascript"></script>
<script src="/javascripts/application.js?1231356849" type="text/
javascript"></script>
<script src="/javascripts/active_scaffold/default/rico_corner.js?
1231359054" type="text/javascript"></script>
<script src="/javascripts/active_scaffold/default/form_enhancements.js?
1231359054" type="text/javascript"></script>
<script src="/javascripts/active_scaffold/default/active_scaffold.js?
1231359054" type="text/javascript"></script>
<script src="/javascripts/active_scaffold/default/dhtml_history.js?
1231359054" type="text/javascript"></script>
<link href="/stylesheets/active_scaffold/default/stylesheet.css?
1231359054" media="screen" rel="stylesheet" type="text/css" />
<!--[if IE]><link href="/stylesheets/active_scaffold/default/
stylesheet-ie.css?1231359054" media="screen" rel="stylesheet"
type="text/css" /><![endif]-->
...........................
...........................
But the layout did not changed at all, What am i missing?
Where are the other functionalities like search, pagination etc? In
fact the necessary files are there in vendor/plugins/active_scaffold
directory.
I am using rails 2.2.2.
DJ
Thanks in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---