Displaying 20 results from an estimated 50000 matches similar to: "AJAX - REST & nested resources"
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 Apr 04
8
Updatable "datagrid" with ajax support? Is there any code/approach I can leverage?
Hi,
I want to have a page in my Ruby on Rails application that is like a
dynamic / updateable data grid. Like a matrix or spreadsheet segment
(x rows, y columns) which one can click in any of the cells and make
an update, which triggers some AJAX code to fire off the update, and
then the responses come back and update whatever else needs updating
based on this change.
Is there a prototype
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
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)
2008 Apr 17
5
Uneditable Fields in edit form
When using active scaffold, Is there a way to display form fields as
uneditable in edit form? Thanks a lot..
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this
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?
2008 Jul 11
1
Using custom routes to handle new nested resources
I have a couple of resources, one nested in the other, such that my
resource spec in routes.rb is:
map.resources :parents, :has_many => :children
This will generate a route for a new child that assumes that the parent
has already been saved, something like:
/parents/:parent_id/children/new
But what if I want a route that handles the case where the parent
resource is also new, and thus
2006 May 10
2
trouble creating new records
Is it possible to create / save a new record from a controller other than the one I specified when I created the scaffolding?
My situation is that I have two tables. Emrecs is the parent. Actors is the child and has a foreign key named emrec_id that references emrec.id. I scaffolded both, creating controllers and views for each. My app collects info from the user to fill in the two tables,
2007 Aug 22
1
Interface for administration
Hi *, I need to choose a platform for building the administrative
part of http://www.zooppa.com
Actually I like both streamlined and activescaffold, they seem both
good.
I''d like to ask to people using it which one is more likely to manage
correctly things like validations, polymorphic associations, STI and
in general complex data.
If it''s also easy to modify it would
2009 Nov 09
6
Active Scaffold Without Database connection --- Help
Hi Friends,
I want to know what are ways or how to use the Active Scaffold without
Database connection ....
I mean Instead of Database I will have a CSV or Flat file.....
Thro Active Scaffold Plug-in how to read this file instead of
database....
Kindly Can I have you Ideas and Views..... ASAP.....
- Antony
--
Posted via http://www.ruby-forum.com/.
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/.
2006 Apr 26
3
q: master/child where children are added with ajax
Say my user creates an Article and an Article has_many :links. The edit form
for article contains an "add link" link_to_remote that brings up an edit
line for links for further reading. The problem is that there is that the
Article is not yet saved, so it''s unclear how to accumulate or remove these
items.
I''m sure others have implemented similar things. Hints?
Thanks
2007 May 23
10
Modifying Conditions for has_many at runtime in controller?
I am attempting to bring Rails into my company, and so far I have been
able to impress the senior managers with the flexibility /
configurability of Rails on ActiveScaffold. I have hit a point now
where I am stumped, and would really appreciate the help of the
community.
I have a Person ActiveRecord model that has_many Orders.
class Person < ActiveRecord::Base
has_many :orders
end
I am
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
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
2015 Jun 30
4
[LLVMdev] Proposal: REST and Ajax in LNT
I think it would be super useful to give LNT a RESTful interface. As LNT grows, it would be nice to be able to update some of the pages with Ajax(or json). Especially for pages with long load times, it makes sense to be able to speed up load times, by fetching the data after page load. It would also allow us to build more dynamic pages, and allow non-web clients better structured access to LNT
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
2006 Jun 15
2
AJAX form inside table - error
Hello,
I need to put an AJAX, form such that it is inside a table, and spans across
few rows.
But, what I am noticing is that, while submitting the form, the data in the
fields is not submitted.
If I move the form outside the table or inside a cell, things work OK, but not
when the form is inside the table and spans few rows. This problem is only
with AJAX forms, regular forms work perfect. I
2006 Jan 31
1
Ajax and the submit
While working on a new application, a friend and I ran into what we
think is a problem with using ajax. Users are used to being able to
modify the contents of a screen until they are finished and then saving
(committing). There does not seem to be a way to do this with ajax,
since you have to modify the model whenever you call back to the server.
The half baked solution that we came up with is
2006 Jun 04
3
Ajax table does not update
I have two models: Child and Day. A Child has many days, and a day
belongs to a child.
I want to create ana ajax table listing the children and, after pressing
a button, I want to show the days that belong to that child.
Here is my code:
(list.rhtml)
<table>
<tr>
...
<td><%= link_to ''Days'', :action => ''show_days'', :id =>