Displaying 20 results from an estimated 40000 matches similar to: "Getting a dynamic selected field from an activescaffold...?"
2008 Apr 17
0
Having problem with validates_presence_of fields in form when trying to also use ActiveScaffold (x-posted at ActiveScaffold group)
I have an events listing site that includes the models Event and
DateAndTime, so an event that happens more than once (like a high
school play) can have more than one date_and_time. The Event model
has_many date_and_times, and the DateAndTime model belongs_to event.
The Event model validates_presence_of two submission form variables,
the_date and the_time, and those variable values then get used
2008 Apr 20
1
how to select "no date" in activeScaffold
HI,
I have a date column which is not mandatory. How can I get it so
activeScaffold offer the ability to select no date (i.e. nil or null
type thing)?
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
2007 May 11
0
ActiveScaffold Released
I''m happy to announce that we released ActiveScaffold 1.0 today after 8
months of hard work on the plugin. In addition to announcing our launch,
I did a writeup on where the project is going next (hint: think
semantic) which I''d love to have some feedback on:
http://activescaffold.com/2007/5/10/activescaffold-goes-gold-1-0-released
Thanks and let us know if there''s
2009 May 21
1
How to install ActiveScaffold plugin?
I am upgrading to raills 2.3.2. I’m having problems with AjaxScaffold
which has been deprecated.
I am a linux novice. The web site http://activescaffold.com/ has the
following command:
script/plugin install git://github.com/activescaffold/active_scaffold.git
I tried the above and also ruby script/plugin …
Nothing happens.
Any ideas?
2007 Oct 29
2
UI drop down list pulled from database values in activescaffold
as i''m finding it difficult to override the form Ui elements using
activescaffold -= i''m looking for a help to build a drop down list in
UI (values pulled from databse through SQL query) and so user can
select these valus while submitting to database.
pls provide any example strictly using activescaffold plugin.
thanks
selvan-kalaiselvan
2007 Oct 07
1
Streamlined/ActiveScaffold don't support has_many :through?
All,
I hear tell that neither Streamlined nor ActiveScaffold support the use
of has_many :through relationships in the sense that HM:T relationships
will effectively be read-only in those frameworks.
Does anyone know why this is? I assume that it has something to do with
the way that the relationships are introspected on?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2010 Sep 22
8
ActiveScaffold and partials
I was thinking of doing partials as I did in the simple Rails
application I worked on today.
But, since I''m using ActiveScaffold, I didn''t find any *.html.erb in the
views folder of the Rails application that I need to make my partials!
How can I work with partials in ActiveScaffold?
Thanks.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
2008 Sep 05
1
ActiveScaffold :form_ui select
If I have two :form_ui select boxes, how can I make the first select
box reload the values in the second? For example,
---> [Car Maker]
-------> [Car Model]
When I change a value in the ''Car Maker'' select box, I want to display
values in the ''Car Model'' select box that only belong_to that Car
Maker.
I read another post in this group that recommended
2007 Oct 19
1
ActiveScaffold many to many relationships
Hi there,
when I create active scaffolding in a many to many relationship, I
would like that my create/delete actions in the nested scaffold would
actually erase one relationship between the two tables or create a new
link between the two tables, and not delete the record itself in one
table or create a new record of one of the two tables involved.
Is this possible with Active Scaffold?
Thank
2011 Aug 09
0
ActiveScaffold - custom show action
Hi all,
I''ve added custom show action (as an action link - I want to use default
one too). Everything renders well, but I''m missing a "Close" ([x])
button. So, I copied AS'' default _show.rhtml template and edited it a
bit (just added custom output and removed label). However, when I click
at "Close" I get error output:
You have a nil object when you
2009 Sep 29
0
Problem with RESTful resource and ActiveScaffold
Hello everyone,
I am trying to use a RESTful controller for user inside a namespace
using AS and one outside for registration and so on. When i try to
visit the namespaced url I get Unknown action. Once i replace
active_scaffold :users with a def index; end i can the URL.
My routes look like:
map.register "register", :controller => "users", :action =>
"create"
2008 Jul 09
1
Problem with ActiveScaffold+RecordSelect
Hello,
i''m using this two plugins.
But i have some problems.
My model is USER belongs_to :avatar.
Error is the follow:
NameError in Admin/avatarsController#browse
undefined local variable or method `field'' for
#<Admin::AvatarsController:0x68aae98>
RAILS_ROOT: C:/Progetti Rails/RNetPortal
Application Trace | Framework Trace | Full Trace
Request
Parameters:
2007 May 02
0
Selected value in a combobox
I''m using ActiveScaffold.
In the file house_helper.rb I have written the code:
def house_form_column(record, input_name)
...
list = House.find(:all, :include => ''city'')
new_list=...
...
list do |element|
if record = element.name
selec=element.id
end
end
select_tag ''X'',options_for_select(new_list, selected=selec),
2007 Jan 29
5
Getting the reason why this fails ??
Hi there.
Have this code, and i need to find put why it fails.
>>Controller
------------
def update
@user = User.find(@params[:id])
if @user.update_attributes(@params[:user])
flash[:notice] = ''The user was successfully updated.''
redirect_to :action => ''show'', :id => @user
else
flash[:notice] = "Error: The user
2012 Jul 19
5
ActiveScaffold Export file - Send as Email
I am using Rails 1.2.3 and Active scaffold 1.1.1
My requirement is to send the export of users data weekly to the admin
as email via cron.
How can i automate the process of exporting csv and storing it at a
place? So that i can pick it from there and attach to the email before
sending?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the
2008 Nov 05
2
AJAX - REST & nested resources
I''ve created a set of resources, with scaffolds that all work. I then
changed one resource to be nested inside another as a one to many
relation. This required a little bit of work on the tests, the
controllers and the views but it all works. Now I want to go the extra
step and have the child resources become updateable inside the parent
form. I''ve pushed the formatting of the
2009 Oct 11
6
A simple editable grid for Rails
Hi All,
I''ve been posting some queries about an editable grid but did not get
any response.
I''ve started writing my own - http://github.com/ckkashyap/rails_editable_grid
I''d appreciate it very much if someone could comment on it!
--
Regards,
Kashyap
2009 May 12
0
RJS Error: TypeError: while using active scaffold
Hi,
I get an unexpected error because i havent do any chnages in any
javascript files, after installing active scaffold. Before 1-2 days my
application is working fine but from yesterday i got the error for RJS
as below while i tried for show action.
RJS error:
TypeError: $("#console__private_messages-messages") is null
$("#console__private_messages-messages").html("\n
2008 Feb 01
1
Rails routing and active scaffold fight to the death
Just kidding, it''s not as bad as it seems. Right now I don''t have
much in my route.rb, and I''m getting this in my console:
Processing ApplicationController#index (for 127.0.0.1 at 2008-02-01
14:54:00) [GET]
[2008-02-01 14:54:00] (552) INFO Session ID:
a8eeb58764d872bbd1fdb337636e68e7
[2008-02-01 14:54:00] (552) INFO Parameters: {}
[2008-02-01 14:54:00] (552)
2006 Oct 27
1
link_to
Hi there.
Is there a way i can have my link_to refer outsite the current controler
?
I have a path /refrences/ wich lists the refrences, and i want a link_to
in this template, to refer to the path /companies/show/company.id is
this possible ?
I have tried using: ink_to ''link'', :action => ''/companies/show'', :id =>
company.id
but with no luck, is