Displaying 20 results from an estimated 2000 matches similar to: "How would you do this in ajax in rails 3"
2012 May 24
3
rails ajax issues
Hi
* *I think this is my 4 or 5th post about the ajax issues with my rails
code. But i couldn''t rectify my issues sofar.
problem is,
In my pages.html.erb have one text field and button. when i click on that
button, the text field value will get into the controller through ajax,so
after the function i need to get that value(textfield value) in same
page.
*page.html.erb*
2006 Jun 03
12
How to get dynamically created inputs from html form back to rails app
Thank you in advance.
Although I have many years of experience in general, including cross-
platform processing, I am not an HTML/Javascript programmer. As a
result, I do not have certain specific baseline skills and/or knowledge
that are presumed in the Rails and Ajax documentation.
I am experienced with DOM manipulations, so the bare mechanics of
manipulating the browser GUI via Javascript
2012 May 18
2
Ideas For Handling Rake Task Errors
I am looking for some ideas on how I can create some way of error
alerts for failed rake tasks and how some of you are handling
something like this. Basically if a rake tasks fails I would like to
have some kind of alert by email that the task did not complete. Are
there any services that your using to do something like this?
Currently
I am running these tasks via cron.
Thank You
--
You
2012 Nov 01
2
SyntaxError in Posts#index
getting this error
compile error
/Users/bradwrage/webapps/blog/app/views/posts/index.html.erb:5: syntax error, unexpected ''=''
...w Goal", new_post_path, class="btn btn-success" );@output_bu...
^
/Users/bradwrage/webapps/blog/app/views/posts/index.html.erb:7: syntax error, unexpected kDO_BLOCK, expecting kEND
''); @posts.each
2006 Apr 17
3
Please help : how to link_to() and css styles ?
Hello, I''m having hard times on a very simple problem : how to provide a
css class to a link_to tag ?
I''m using this :
<%= link_to ''Cancel'', :action => ''list'', :class => ''btn-cancel'' %>
and RoR produces this :
<a href="/gallery/list?class=btn-cancel">Cancel</a>
I''ve read the doc
2009 Sep 24
4
Action Controller ::MethodNotAllowed
Hi,
Iam getting the following error
ActionController::MethodNotAllowed
Only get, put and delete requests are allowed.
Actually, Iam trying to have multiple actions for a form to create
new record. The actions for the form are cancel, save, publish and
preview.
here''s the config/routes.rb file code snippet for the relevant
controller - Events
map.resources :events, :member =>
2006 Aug 03
5
Multiple Loading events in form_remote_for
Is it possible to have multiple loading events in the params for
form_remote_for?
I''d like to do this :loading => "Element.show(''form-indicator'') and
this :loading => "Element.hide(btn-submit'')
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Oct 16
1
prototype help needed - how to get started
Hello,
Despite Sergio''s excellent documentation on prototype, I’m still struggling
to get started. I hope somebody is able to help me a with a little example
to get me going.
Please see html code below – I have this little navigation bar and I like to
add some events/functions to the buttons.
Let’s say, onmouseover, I like to change e.g. the background-color of the
button and
2012 Mar 26
1
rails test failure
Not sure if this is for this group or not but I am running some rake
tests and getting this failure
Test run options: --seed 45998
rake aborted!
Errors in activerecord
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To
2007 Apr 27
2
mdiclient windows do not always activate on click
I just noticed that MDIClient windows do not automatically become
current when they receive a mouse click, but only do so if the click
happens inside of an enabled widget. This may very well be correct, but
if so then what is the right way to handle it, if you want a more
familiar window-manager behavior (click to focus)?
For example, if you change the mditest.rb example like so...
---
2007 Feb 27
1
Billing Telephone Number (BTN)
I have Asterisk setup with two PRI's one going to my telco and the
other going to a Norstar Meridian system. The Norstar Meridian is
sending a BTN number that needs to be passed to the Telco. Is there a
way to pass the BTN as a variable in the dial plan? Like
CallerID(num)? What is the variable for BTN if so?
Many Thanks.
--
***
Forrest Beck
IAXTEL: 17002871718
jonforrest.beck@gmail.com
2008 Mar 24
4
SIP carrier billing technicalities
Hi,
Does anyone know anything about the following?
In a hosted environment where several area DIDs are provisioned on a
single server, how do most carriers establish the origination DID,
number.
Asterisk allows us to modify the CallerID, name, number and DNID
channel variables before dialling out via SIP. Most carriers will
allow us to spoof a callerID when placing a call, and pass it forward.
2012 Sep 22
1
formtastic does not save at all
Rails 3.1.3
I am using Formtastic gem in order to deal with multi-select
dependencies.
<%= semantic_form_for(@give) do |f| %>
<%= f.inputs do %>
<%= f.input :departure,
:collection => Departure.find(:all, :order=>:city).collect{ |c|
[c.city,c.id]},
:required=>true %>
<div id="destinationCity">
<%= render :partial =>
2016 Feb 22
4
Windstream SIP Trunk settings
Does anyone on this list use Windstream as a SIP trunk provider?
If so, would you mind sharing your peer settings?
I'm using asterisk 13.7.2 and can't seem to get the inbound working
correctly (using registration). Outbound is fine, but they are seeing an
authentication error on their end.
Here are my inbound peer settings:
username=<accountnumber>
secret=<secret>
2004 Jun 19
4
FlexGridSizer question
=begin
I am trying to understand how FlexGridSizer works and I have written a small
test application using the latest wxRuby 0.4.0 on Win XP (Home).
I cannot get static text ''Week'', ''Day'' and ''Date'' line up above the OK button.
I have tried all combinations of ALIGN flags, but I either got the text sticking
far too close to the left edge of
2011 Dec 22
1
RGtk2: How to overlay a gtkDrawingArea with a button or any other widget?
I try to overlay a plot inside a gtkDrawingArea with a button (or any other widget).
I tried to put both into a gtkFixed container.
But this does not work, no printing occurs.
Does someone know a solution?
What I tried:
w <- gtkWindow()
w$setSizeRequest(400,400)
fx <- gtkFixed()
da <- gtkDrawingArea()
fx$put(da, 100, 100)
asCairoDevice(da)
par(mar=c(0,0,0,0))
plot(1:10)
btn.1
2013 May 02
1
trouble-with-capybara-and-rspec-on-a-new-model-spec
I have searched a lot for a solution, but I could not find it! I am trying
to make a rails application after watching Michael Hartl''s tutorial and
when i fill data manually and submit it nothing happens and nothing records
in the Mailers table and I am facing the following error:
Failures:
1) Mailer pages mail us with valid information should send a mail
Failure/Error: expect
2007 May 10
11
wxRuby2 0.0.40
Congratulations, wxRuby2 0.0.40
but,where is 0.0.40 mswin32.gem?
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2008 Jun 12
4
Background thread - entension code - switch contexts
Hi,
I am using wxRuby 1.9.7 and Ruby 1.8.6. I have built an extension in C++
and used swig to load it into Ruby interpreter, which works great. The
extension is an often long executing algorithm, and I''ve noticed that if
I fork a new Ruby thread in button clicked event, and in this thread run
the algorithm the application freezes for the time of execution. I have
looked through the
2007 May 19
2
(OT) Anyone Ever Use http://shopfort1.com as a Broker
I have no affiliation with them but if their quotes are accurate then
they provide quite a few options as far as TDM connectivity and realtime
pricing.
If you do not want a phone call from a sales person, give them a BTN
that goes to an IVR or something. They call no matter which box you
click as far as "contact me now" "contact me later" "just window
shopping".