Dude you really need to read a book or learn how to start using google. You
ask every single question of the most simple usage of the framework.
You can learn here: http://bit.ly/2tvfGTT
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
Could you post some code about what you need to change and how you were
thinking of changing it?
--
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
You could also use https://harvesthq.github.io/chosen/
or
this
http://stackoverflow.com/questions/39921381/adding-a-tag-if-it-doesnt-exist-in-rails-chosen-rails
google a little around I know I have done this a long time ago and it
wasn't that hard.
--
You received this message because you
Thats great!
I am glad you shared this.
--
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this
I don't think it is an hack what you are doing.
To actually have routes receiving different types of ids you probably
needed to change how those helpers are generated by rails.
That means you might have to monkey patch rails.
The alternative rails is giving you to be able to do this is by doing
I am sorry but my written spanish is bad so it goes in english:
You should read
this:
http://guides.rubyonrails.org/association_basics.html#the-has-many-through-association
and also the whole guide. Your migration is not correct.
--
You received this message because you are subscribed to the
Maybe this can help
you
https://robots.thoughtbot.com/whats-the-deal-with-rails-polymorphic-associations
search google about polymorphic associations
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and
Also I signed up for your website but the habits page gives an an error!
--
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
you need to read
documentation:
http://edgeguides.rubyonrails.org/action_controller_overview.html#strong-parameters
--
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
To solve your problem:
1. Quit windows
2. Second either run bundle, or google your problem and you will find stuff
like
this:
http://stackoverflow.com/questions/15480381/how-do-i-install-sqlite3-for-ruby-on-windows
--
You received this message because you are subscribed to the Google Groups
yea sorry about that, I meant quit windows like you should quit a bad job! :)
--
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
Hey guys,
I had recently a very weird experience. I have a Loader class that run's a
lot of different things on Active Record objects. One thing this loader
does, is to preload data based on each classes settings. so basically:
scope.preload(preloads)
scope has a collection of Active Record
To get the right answers you got ask the right questions, but maybe you
should try and google a little around: http://bit.ly/1xcPWrc just a
little...
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop
Normally that problem occurs when you have a weird nesting or the naming of
the controller compared to the test name is not correct as you can see in
this 2 posts:
http://stackoverflow.com/questions/14267506/keep-getting-controller-is-nil-error
Hey guys,
Thanks for your input. I have done API's before in rails and I understand
and follow the advices on using a versioned API. I think what Collin was
trying to say is in the beginning to get the app development going I should
be using the common API, and after build a version API.
I also
2014-08-24 18:32 GMT+02:00 Colin Law clan...@gmail.com:
On 24 August 2014 17:08, and...@benjamin.dk wrote:
Hey guys,
I am about to develop my first mobile app with the same function of a
website I have developed in rails. So I have a few questions:
1. My plan is to create an API to
Hey Arup,
what version of rails are you using?
Also have you read this:
http://api.rubyonrails.org/classes/ActionController/RequestForgeryProtection.html
try to google your error might help you.
all the best,
Andre
--
You received this message because you are subscribed to the Google Groups
There is an option called month_calendar that should give you that, but you
can also look at the example that is on the documentation
https://github.com/excid3/simple_calendar-ajax-example
Do you have a field in your database called start_time?
If this does not fill your requirements, you can
This is my own calendar helper:
https://gist.github.com/andreorvalho/fdb28af8284b13fc9829
I have build it from the rails casts. if you look at my weeks method there,
you can probably do the same for a day. create an array of hours and use
them to render what you want.
Hope it helps.
--
You
You can always accept my answer at stackoverflow :)
--
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post
Hi Emil,
I have also found that link and that only shows GET requests. Its a very
good example for those. But I need to make a pull request where I need to
send data in JSON just like the example you posted here in cucumber, and I
dont seem to find the way to do this in Rspec. at least I cant
Thanks everyone for your help,
I have found the answer here
http://stackoverflow.com/questions/18337609/rspec-request-test-merges-hashes-in-array-in-post-json-params
It seems that the request parameters I was sending was not the correct ones.
this worked
it should return an error if there is
Hello there,
I have found ur post while googlin. Its very useful if you wanna use
cucumber. I dont like cucumber for many reasons and would like to use RSPEC
to test this. do you know how to do it? If so can you help me?
thanks for the help though,
all the best,
Andre
--
You received this
I have read the post. actually I have it read it several times to try to
see if I could find the particular answer.
But I guess I got my question answered. Independent is the key word here
and that's what a library should be and the ability of using it anywhere. I
think I just saw a lot of bad
24 matches
Mail list logo