Is there some way to keep rails from trying to open a page on a route?
Basically I just want to send an ajax query to:
http://localhost:3000/method/multiply?num1=3num2=4
while staying on http://localhost:3000/index
Thanks Josh
--
You received this message because you are subscribed to the
I know this is quite stale, but I'm having the same problems you were. Can
you post your solution?
On Tuesday, June 30, 2009 5:49:44 AM UTC-5, GuruOne wrote:
Dear All,
I have my first RoR (very simple text book) application up and running
on Bluehost.
Final solution was a combination of
On Sunday, September 16, 2012 5:42:50 AM UTC+1, Ruby-Forum.com User wrote:
This standalone program in using mysql and dbi gems
I call this program as such from a model
system(ruby standalonepgm.ruby -args )
In rails 2.0 this worked without any issue.
In 3.0 the program exits
Hi Walter Lee Davis , Paul
Please can u give some code snipet or give some more clarification
about parsing doc file.
On Sat, Sep 15, 2012 at 7:37 PM, Scott Ribe scott_r...@elevated-dev.comwrote:
On Sep 15, 2012, at 7:27 AM, Paul wrote:
The docx format is actually pretty simple...
(Original question was asked here:
http://stackoverflow.com/questions/11506734/routing-error-no-route-matches-when-omniauth-failed-on-registration)
I am using omniauth-identity and configure its fail on registration.
My files:
config/initializers/omniauth.rb
OmniAuth.config.logger =
Did you try googling? This was the third link I found.
http://deepakprasanna.blogspot.in/2011/06/parsing-pdfdocdocx-content-with-apache.html
Dheeraj Kumar
On Sunday 16 September 2012 at 3:46 PM, rovin varshney wrote:
Hi Walter Lee Davis , Paul
Please can u give some code
On Sat, Sep 15, 2012 at 8:57 PM, Joshua Niehus jm.nie...@gmail.com wrote:
Is there some way to keep rails from trying to open a page on a route?
Basically I just want to send an ajax query to:
http://localhost:3000/method/multiply?num1=3num2=4
while staying on http://localhost:3000/index
On Sunday 16 September 2012 05:58 PM, Dheeraj Kumar wrote:
Did you try googling? This was the third link I found.
http://deepakprasanna.blogspot.in/2011/06/parsing-pdfdocdocx-content-with-apache.html
Dheeraj Kumar
On Sunday 16 September 2012 at 3:46 PM, rovin varshney wrote:
Hi Walter Lee
Fred - Thanks for the reply
I have tried the bundler fix .. the following works too
Bundler.with_clean_env do
system (ruby pgm.rb)
end
Of course rails hates dbi and it has to come off the gemfile .. i like
it that way
--
Posted via http://www.ruby-forum.com/.
--
You received this message
Hello,
I try to follow this tutorial :
http://ruby.railstutorial.org/ruby-on-rails-tutorial-book
Im now at chapter 3.2.1.
But the test is still failing even if I do everything according to the
chapter.
My code can be found here : https://github.com/roelof1967/demo_app
And the faiing message
I got the following error.
My guess is that there is a 'private' setting in the lineitem class, but
I can't find it :-(
NoMethodError in Carts#show
Showing
/Users/kwadwoadu/src/ruby-test/depot/app/views/carts/show.html.erb where
line #11 raised:
private method `total_price' called for
Also,
p Dog.ancestors
--output:--
[Dog, Cat, Animal, Object, Kernel, BasicObject]
--
Posted via http://www.ruby-forum.com/.
--
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
You can following this book
http://ruby.railstutorial.org/ruby-on-rails-tutorial-book
I am on chapter 7 now. Everything seems good. I am using Rails 3.2.8 and
Ruby 1.9.3
I did have problems with Rails 3 in action, on chapter 8. Couldn't get
scope to work. Either that or rspec didn't work.
Hi,
I've just opened a question on SO:
http://stackoverflow.com/questions/12448239/multifield-range-validation-2-highlighting-fields
Shortly: using :base in self.errors.add rise up 1 error but no fields
results highlighted, and I need that, just like using attributes
symbols in errors.add
How
For a start, here's the man page for catdoc, which you will need to install.
http://linux.die.net/man/1/catdoc
Then, read up on using the system() or backtick operators in a Ruby script to
engage it. You'll need to have a path to the file you want to process, which is
highly dependent on the
I often see custom Exception classes inheriting from StandardError.
Errors which you can generally deal with are subclassed from
StandardError:
module AbstractController
class Error StandardError #:nodoc:
end
class ActionNotFound StandardError #:nodoc:
end
unless action_name =
I would understand if there was some level of customization involved
that distinguishes it from the super class:
class DoubleRenderError Error
DEFAULT_MESSAGE = Render and/or redirect were called multiple
times in this action. Please note that you may only call render OR
redirect, and at
(Original question was asked here:
http://stackoverflow.com/questions/11506734/routing-error-no-route-matches-when-omniauth-failed-on-registration
)
I am using omniauth-identity and configure its fail on registration.
My files:
config/initializers/omniauth.rb
OmniAuth.config.logger =
On Sunday, September 16, 2012 7:57:44 PM UTC+1, John Merlino wrote:
class ActionNotFound StandardError #:nodoc:
end
unless action_name = method_for_action(action_name)
raise ActionNotFound, The action '#{action}' could not be found for
#{self.class.name}
end
But why even
Really? From all the countries in the world you wouldn't relocate to Greece
to begin with?
On Friday, 14 September 2012 13:22:13 UTC+3, Peter Hickman wrote:
And this is why people complain about job ad on this list!
No location (I will not relocate to Greece for this job)
No salary
Hello Ken. I'm also a Junior Rails developer interested in this position.
Could you provide more info on how to apply?
On Thursday, 13 September 2012 16:55:26 UTC+3, kenpersel wrote:
Work with some of the world’s most famous Rubyists and technologists to
revolutionize
eCommerce.
None of those seem to help, Rails just goes to some blank page with either:
a) render :nothing = true
b) head (blah blah...)
I have an ajax request for the server to check something for me but i do
not want to be redirected anywhere when I call it...
not to a blank page or some generated
On Sun, Sep 16, 2012 at 8:55 PM, Joshua Niehus jm.nie...@gmail.com wrote:
None of those seem to help, Rails just goes to some blank page
Actually, your app goes to some blank page. The guide I linked to
earlier explains how to control that :-)
If that's not enough, post your request code and
Attached is the generated html source code.
Thanks for any help
TheR
Attachments:
http://www.ruby-forum.com/attachment/7745/myuser_form.html
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To
24 matches
Mail list logo