Hi!
I have two projects running Rails 4.2 and using travel_to
from ActiveSupport::Testing::TimeHelpers.
In one project everything is working perfectly. But in the second one, my
specs are running with the current date/time instead of using travel_to.
Here is one example:
it is only a
thank you thank you thank you I'm starting to play with Ruby (being
a python man myself), and I've been loosing my mind for two days with
this!!!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
On 17 February 2015 at 15:39, Tony Tambe tambe...@gmail.com wrote:
In my music review app the Pins model has attributes of Pin.artist and
Pin.album. I'm trying to list each artist reviewed on the site and which
albums of theirs have been reviewed. Below is what I have so far, but I want
to do
On 17 February 2015 at 12:52, Jensen Vang jensen.v...@gmail.com wrote:
help! what does this means? undefined method `deep_symbolize_keys' for
:String
It probably means you have done something like passing a string
parameter when a hash is expected.
Colin
--
You received this message because
In my music review app the Pins model has attributes of Pin.artist and
Pin.album. I'm trying to list each artist reviewed on the site and which
albums of theirs have been reviewed. Below is what I have so far, but I
want to do it without repeating the artist name.
Controller:
@pin_albums =
Colin Law wrote in post #1168195:
On 17 February 2015 at 09:56, Damjan Rems li...@ruby-forum.com wrote:
The code inside test method doesn't get executed at all.
class MailSender ActionMailer::Base
default :from = 'no.reply@some.where'
def test()
Should that not be
def self.test()
if
On 17 February 2015 at 09:56, Damjan Rems li...@ruby-forum.com wrote:
The code inside test method doesn't get executed at all.
class MailSender ActionMailer::Base
default :from = 'no.reply@some.where'
def test()
Should that not be
def self.test()
if you want to call it using
The code inside test method doesn't get executed at all.
class MailSender ActionMailer::Base
default :from = 'no.reply@some.where'
def test()
should_die_here
mail(
:to = 't...@to.com',
:subject = 'Test',
:text = 'Text').deliver
end
end
##
In controller:
Hi,
It means the method 'deep_symbolize_keys' isn't defined for an instance of
a String. 'deep_symbolize_keys' is used for hashes. Google to use use cases.
Hope it helps.
Anuj
On 17 February 2015 at 12:52, Jensen Vang jensen.v...@gmail.com wrote:
help! what does this means? undefined method
help! what does this means? undefined method `deep_symbolize_keys' for
:String
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
10 matches
Mail list logo