I have a 2 entities which have many to many relation say teacher and
slot. Each teacher has many classes he/she takes up and each class is a
slot. I want to perform search on teacher by sunspot solr for all the
teacher who takes classes for different days in specific time.
Say model structures
Hi All,
I need to post data from my rails app to an external web form I do not have
any control over. There is no public API, so I was wondering if anyone had
had a similar problem, and was it possible to to utilize Selenium in
production in order to automate the form filling - similar to
According to this article Rails helpers from all controllers are
available to all views. But to me this looks kind of a dangerous
approach because I might at some point use helper methods with the same
name but with different implementations that can cause conflicts and
undesired results. This
hello
i tried to install he rails gem
$gem install rails
and got the error messege
unable to download data from http://rubygems.org/ -ssl_connet returned
=1 errno =0 state =sslv3 read server certificate b: certificate verify
failed
(https:/api.rubygems.org/latest_specs.4.8.gz
what sholud i do
On Wednesday, February 5, 2014 2:26:45 PM UTC, paul h wrote:
Hi All,
I need to post data from my rails app to an external web form I do not
have any control over. There is no public API, so I was wondering if anyone
had had a similar problem, and was it possible to to utilize Selenium in
Thanks Walter and Jim for your feedback. The Railsconf talk was indeed
informative, although we are still leaning against an upgrade path and are
more likely to choose a rewrite-based approach. Jim, I hadn't thought about
the flash, so thanks for pointing that out. I think we can probably
On Wednesday, February 5, 2014 12:58:31 AM UTC, vgaiter4 wrote:
Per a customers request I installed redmine 1.3.3 on Ubuntu 12.04.3 LTS. I
have followed the install instructions to the letter. However when I go to
launch the website Http://myserver/redmine, I get an error stating the
On Wednesday, February 5, 2014 4:46:12 PM UTC, Ruby-Forum.com User wrote:
According to this article Rails helpers from all controllers are
available to all views. But to me this looks kind of a dangerous
approach because I might at some point use helper methods with the same
name but
Frederick,
Thanks. I am glad you agree with me. By the way, do you recommend
setting this option to false as good practice on every fresh project?
Looks like your idea solves the issue, but of course, will force you to
dump stuff like you said, in application.rb.
I researched a little bit and
Russ Dast wrote in post #1135683:
Thanks Walter and Jim for your feedback. The Railsconf talk was indeed
informative, although we are still leaning against an upgrade path and
are
more likely to choose a rewrite-based approach. Jim, I hadn't thought
about
the flash, so thanks for pointing
On Wednesday, February 5, 2014 7:29:41 PM UTC, Ruby-Forum.com User wrote:
Frederick,
Thanks. I am glad you agree with me. By the way, do you recommend
setting this option to false as good practice on every fresh project?
Looks like your idea solves the issue, but of course, will force
On Tuesday, 4 February 2014 19:58:31 UTC-5, vgaiter4 wrote:
Per a customers request I installed redmine 1.3.3 on Ubuntu 12.04.3 LTS. I
have followed the install instructions to the letter. However when I go to
launch the website Http://myserver/redmine, I get an error stating the
Ruby on
Hello,
I need a sort of translation dictionary for rbenv to RVM commands.
I am working on some learning tracks and projects on Treehouse for RoR
development and their tutorial calls for using rbenv. I already have RVM
installed for the Skillshare class, Rails in 30 Days. I received some great
Hi folks. Trying to get google-geo to work, but I am seeing errors.
#!/usr/bin/ruby
require 'Google-geo'
mykey = 'blahblahblah'
addy1 = '1600 Amphitheatre Parkway, Mountain View, CA'
# 37.42246, -122.08394
geo = Google::Geo.new mykey
Frederick
Could you please elaborate helper :currency? Can you give an example?
Thanks
Rod
Frederick Cheung wrote in post #1135734:
On Wednesday, February 5, 2014 7:29:41 PM UTC, Ruby-Forum.com User
wrote:
Frederick,
Thanks. I am glad you agree with me. By the way, do you recommend
On Wed, Feb 5, 2014 at 4:26 PM, BeeRich beer...@gmail.com wrote:
Hi folks. Trying to get google-geo to work, but I am seeing errors.
#!/usr/bin/ruby
require 'Google-geo'
pry
2.0.0 (main):0 require 'google/geo'
= true
HTH,
--
Hassan Schroeder
I have the following instruction that returns an array that I'm quite confused
about. I can't even read it. Can someone shed some light as to how to reach
into this array of hashes (that's what I can see) to get the location lat and
lon?
res = Geocoder.search(addy1)
This is the res:
Hi RoR developers
I am interested in hearing your thoughts on this. I will very shortly
develop a web application for the eLearning industry in a SaaS model. I
have a good idea and some very good contacts in the industry. I am more
of a .NET person but decided to make it in Ruby in order to have
Your'e looking at the result in correctly,-- that is not a comment in the
array! Its the stringified output of the array that contains Geocoder::Result
objects.
res = Geocoder.search(addy1).first
res.data # = gives you entire data .. seen as @data and then you can
traverse as a hash
There
Alternatively you can downgrade the gem system using
$ gem update --system 1.4.2
If you are on a higher gem version, it downgrades it.
As far as I know, 1.8.25 gem works well with Rails 2.1 onwards with Ruby 1.8.7
and rake (0.8.7).
I also think rack (1.1.0) causes problems as it's quite a
I see. Now it is clear. I was under the impression that the inspect method
was just a representation of the returned array. Good to know. Thanks for the
notes.
Cheers
On Feb 6, 2014, at 12:06 AM, Gautam Rege gautamr...@gmail.com wrote:
Your'e looking at the result in correctly,-- that
21 matches
Mail list logo