Displaying 20 results from an estimated 38 matches for "postback".
2008 Jul 09
4
Auto Postback in Ruby On Rails
in some other language have a concept e.i "auto postback"
So, in Ruby on rails is there any such option e.i "auto postback"
or same as "auto postback"
basically what i want ot do is that i have 2 select box
One for "Industry" and other for "Chemical"
1st we show all the industry in "Industry" se...
2005 Jan 29
4
problem with postback generator on 0.9.5
I''m trying to call the postback generator on rails 0.9.5. I''ve
installed the postback tarball into
gems/1.8/gems/rails-0.9.5/generators/postback as it seems like it is
supposed to be. At least, I installed the login generator the same way
and it works. But when I try to run it, I get this:
[carl@e236014 test]$ r...
2006 Aug 14
1
Postback Action Problem
I was trying to use postbacks, but its not working.
def edit
@xxxx= xxxx.find_by_id(params[:id]) || xxxx.new
if request.post?
@xxxx.attributes = params[:xxxx]
redirect_to :list and return if @xxxx.save
end
end
I get the following error: SystemStackError in xxxxxController#edit
stack level too...
2005 Apr 25
1
Problems when using sweepers with postbacks
...using a cache sweeper class [1] to take care of some pretty complex
sweeping. However, there is a problem with the current implementation.
Namely, the sweeper gets called only when an action named in
cache_sweeper is called using GET. As many methods where sweeper would
be useful are using postback to send the form to the same action, this
causes the cache to get swept when the edit form is loaded, not when
the actual editing in the db is happening.
My idea to solve this would be to accept an array as an item in the
:only parameter array. It would then consist of the name of the action...
2010 Apr 09
0
HOW TO STOP POSTBACKS IN SUPERREWARDS
Hi
Am currently working with integrating superrewards where i came up with all
the steps included with superrewards but i didnt find the clear
documentation for stopping the postbacks from superrewards (i.e., to which
url the postback reply has to be send).Have anyone worked with superrewards?
Your help will be timely help thanks in advance..
--
View this message in context: http://old.nabble.com/HOW-TO-STOP-POSTBACKS-IN-SUPERREWARDS-tp28187920p28187920.html
Sent from the Ruby...
2006 Apr 14
0
Issue with Core Effect and AJAX Postback
Hi,
I''m displaying an Effect during an AJAX request,
unfortunately, during the postback, the Effect doesn''t display.
Is there a solution ?
Best Regards,
--
Jean-Philippe Encausse - R&D Jalios SA
Jp-vcK5r0oTKUrk1uMJSBkQmQ@public.gmane.org - http://www.encausse.com
ICQ: 109796741 - AOL: NextOne6666 - MSN: Nextone6666-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
Mob: +336 82 12...
2005 Mar 07
3
Tons of shiny new stuff
...u which got me last week i was able to get
some coding done.
Here goes:
== Hieraki
Hieraki got plenty of improvements next to the rails 0.10 update. The
biggest new features are proper yaml, html and readme export. But
there are also plenty of new code improvements like the switch to my
favorite postback style for all controllers. Hieraki traditionally
serves as a demo app for many newcomers to rails so its code health is
very important. I also upped the testcase coverage to fairly good 1:0.8
== Typo
Typo got some the 0.10 treatment and a few interesting updates. There
is a new del.icio.us aggreg...
2007 Oct 12
13
How to maintain Form State between Postback ?
Hi all,
I''ve trying to look for answers for my problem but so far couldn''t
find one, hopefully you can tell me what to do.
This problem is so ubiquitous to Web Development, pertaining the fact
that the web is stateless, i.e. how to maintain form''s state between
postback.
Basically, I have a form with some validations run for some of the
fields, whenever the user submit the form and the one of the
validations failed, the page will reload with the error message
shown. The problem is, all the fields, that were previously filled-in
are all empty again, which means th...
2006 Jun 27
3
find_by_id vs. find in postback action
I''m playing around with the Postback action recipe listed in the recipes
book.
Here is the default code given:
def edit
@recipe = Recipe.find_by_id(params[:id]) || Recipe.new
if request.post?
@recipe.attributes = params[:recipe]
redirect_to :main_url and return if @recipe.save
end
end
Here is what my code sort of ende...
2008 Jul 09
4
probl;ems with Rails 2.1.0
i just install the Ruby on Rails 2.1.0.....
But i faced lots of problem....
is there any way to install Ruby On Rails 2.0.2
thanking you
--~--~---------~--~----~------------~-------~--~----~
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
2005 Dec 20
2
Designing a data-entry screen
...xes below.
Then you can edit what is in those textboxes, and click a ''save'' button,
and it''ll update the record back into the database.
Here''s what i''m struggling getting to work:
How do you get the dropdowns up the top to keep their values after the
postback?
How do you access the values in those dropdowns from the controller?
How do you get the controller to perform different actions when they
click ''refresh'' versus clicking ''save'' ?
I''m a bit of a beginner, but i believe rails stands a good chance of
re...
2005 Mar 31
4
Transactions
I cant seem to find much information apart from the basics on
transactions in rails. I have 5 nested transactions, and am performing
the following basic operations:
@whatever1.transaction do
@whatever2.transaction do
....
@whatever2.something = "foo"
@whatever1.something = "bar"
@whatever1.save
@whatever2.save
.....
end
end
((( I had tried using
2005 Apr 04
10
Encrypted ASP.Net type viewstate
Does rails have any builtin functionality similar to that of ASP.Net''s
encryptable ViewState? For those that don''t know what the ASP.Net viewstate
is, it is essentially just a hidden form field with the name __VIEWSTATE,
that stores a series of encoded(or encrypted) key/value pairs as it''s value.
When the form is submitted the viewstate value is decoded/decrypted on the
2006 Jan 06
12
Auto refreshing a page based on select change
Hi all,
I have a select helper form on a web page which contains a list of dates. When
the user selects a date, one of the other forms on the page needs to be updated
based on the newly selected date.
Is there a way to catch this event in Rails? Are we talking Ajax here? Or is
there a simpler way?
Thanks,
Dan
2008 Apr 17
4
Do I need to use sessions if I don't store anything in them?
Hi,
I got very small app that has user part and admin part. The problem is
that after a while the sessions table has ~150mb. I don''t really need
to store any user data in the session for the user part. I only need
it for the admin part.
Can I simply turn session off in controllers from the user part? Are
there any drawbacks of turning the session off?
Regards
2007 Feb 01
12
RESTful Rails and other musings
...egacy RoR code, being brand new to the framework, is
Rails 1.2.1 far enough along to embrace the new RESTful design
approach?
2. Can we expect scaffold generators that fully support the RESTful
controller design patterns? Or, do these already exist in Rails
1.2.1?
3. Should we consider the "Postback Action" design pattern to be
deprecated when building RESTful Rails applications?
Excited to hear your thoughts,
Robert Walker
Software Developer
Atlanta, GA
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "...
2005 Dec 19
8
Single Table Inheritance question
Hello,
I''m having a heck of a time getting Single Table Inheritance to work in my app.
I have the following models and have scaffolded out Person and Contact.
person.rb
class Person < ActiveRecord::Base
has_many :contacts
end
client.rb
class Client < Person
end
contact.rb
class Contact < ActiveRecord::Base
belongs_to :person
end
phone.rb
class Phone < Contact
end
In
2006 Jun 26
6
paypal ipn from leetsoft
Has anyone had any luck with the paypal gem from leetsoft (Tobias
Luetke)?
I''m successfully sending off and making payments, but the ipn doesn''t
send back to my site. I have the notify_url set in the form, have a
action set for the ipn postbacks, but all I get from my sandbox after
payment is a "view shops" page from paypal after payment is made.
--
Posted via http://www.ruby-forum.com/.
2006 Feb 23
0
Patterns for multiple forms
...e the details then transferred to the
outer form''s address fields.
I have it kind of working, but, crucially not the form-within-form
scenario, it looks like I''ll need to have just one form and then
detect what button was clicked -- kind of the way that ASP.NET''s
postback model works. I''m just wondering whether others have
approached similar things, and if they have any suggestions for the
best way to handle this kind of thing.
Thanks,
Paul
www.oobaloo.co.uk
2007 Nov 14
0
Should receive field_for failing
...d ''fields_for :address'', and it output the whole form, and even though
@address was nil my specs passed, because I just checked for the presence
of the various form fields. However, since the form was rendered as a
partial, the fields weren''t populating with values on the postback,
because what I needed to have was ''fields_for "address", address''.
Is there a way to check for this through the primary view, or should I
just spec the partial individually?
Thanks,
Steve