Search Discussions
-
here is the reference to stackoverflow http://stackoverflow.com/questions/37887389/devise-auth-sign-in-api-not-returning-access-token-and-client I am not able to receive the access token and client ...
Rohan Jain
Jun 18, 2016 at 10:27 am
Jun 18, 2016 at 10:27 am -
I'm using Redcarpet for markdown editor. The form contains a basic textarea. It works fine. I use CarrierWave to upload most of my files to aws S3 buckets. It works fine too. But, I'm unable to ...
Tan Heng Gek
Jun 18, 2016 at 7:58 am
Jun 18, 2016 at 10:48 am -
I have an application with items such as articles, bulletins, events, weekly specials,… Each of these has its own MVC implmentation and works well. What I would like to do is have the home page ...
Matt Martini
Jun 15, 2016 at 5:06 pm
Jun 15, 2016 at 9:53 pm -
Have you ever wondered how ranges work in Ruby? Read this post to learn more! http://www.blackbytes.info/2016/06/ruby-ranges-how-do-they-work/ Thank you, Jesus Castello -- Posted via ...
Jesus Castello
Jun 15, 2016 at 2:14 pm
Jun 15, 2016 at 2:14 pm -
Hi, I'm trying to lock down a specfic template in my rails application to a particular user type, but only have a sinlge user model at the moment. There is a method that determines if the logged in ...
Michael Davis
Jun 13, 2016 at 4:33 pm
Jun 14, 2016 at 9:30 am -
Slow content got you down? Load it later! Use this gem to defer loading of portions of your page until after load. They will be fetched via AJAX and placed on the page when ready ...
Dave Kimura
Jun 13, 2016 at 12:11 pm
Jun 13, 2016 at 1:41 pm -
Hi all, This is my first post, so I'll start by just saying hello, as I imagine I will be spending a lot of time on this forum in the future. Any way, to my problem... I am trying to build the ...
Frazer Watson
Jun 12, 2016 at 7:26 pm
Jun 13, 2016 at 1:38 pm -
6
[Rails] Why is code inside model running without being asked, and how to run it on link click only?
I have this link in the view: <%= link_to "Pay in PayPal", @order.paypal_url(edit_order_url, payment_notification_url), class: "btn btn-success" % And this in the model: class Order < ...David Alejandro
Jun 12, 2016 at 7:03 am
Jun 12, 2016 at 12:21 pm -
I have a rails application that is in fact a backend of a popular IOS application which have a user base of *200k users* who need to be notified time to time. Daily *40-50k users* will be notified ...
Toarvindmehra
Jun 11, 2016 at 8:55 pm
Jun 13, 2016 at 12:07 pm -
im currently trying to implement a form with several buttons, and my solution for that was to make a full form for each of the 5 buttons. thats extremely repetitive, so i wanted to generate the forms ...
Rynn Steinbolt
Jun 11, 2016 at 4:51 pm
Jun 11, 2016 at 6:11 pm -
<https://lh3.googleusercontent.com/-8WQENjCn5So/V1wf6By7-pI/AAAAAAAABG8/L85MyxVD07Q9wf7LN0vlcc-xfE3hn9TewCLcB/s1600/Clipboard01.jpg Help please! I am doing the tutorial by M Hartl, using Cloud9 IDE ...
Ad Rienks
Jun 11, 2016 at 2:29 pm
Jun 11, 2016 at 7:38 pm -
Hello Folks! Im trying to have several model classes inherit from a new class, which in turn inherits from ActiveRecord::Base. The problem is that my controller's database calls to the original model ...
Rynn Steinbolt
Jun 11, 2016 at 2:08 pm
Jun 13, 2016 at 12:11 pm -
Hi all! I have a web application that uses Devise for authentication. I'll soon be releasing the android version of the application, and it will use the same Devise for authentication. Can anybody ...
Rafael Soares
Jun 10, 2016 at 5:58 pm
Jun 11, 2016 at 3:26 pm -
I'm trying to run "rails server" but I keep getting a missing gem so every gem it said was missing I manually installed. I manually installed gems all the way up to this point but this gem error ...
Rodin Chery
Jun 10, 2016 at 3:44 pm
Jun 11, 2016 at 3:39 pm -
Hi all! I have a query with a lot of joins and I'm eager_loading some of associations at the time. And I need to compute some value as attribute of one of models. So, I'm trying this code ...
Andrey Novikov
Jun 10, 2016 at 1:53 pm
Jun 10, 2016 at 1:53 pm -
This looks like a wonder ful forum with many active members. Why dont we take a minute and introduce ourselves, so that we get to know each other better. http://utsaveyeclinic.com/ -- Posted via ...
Jogendra Prasad
Jun 10, 2016 at 6:08 am
Jun 10, 2016 at 1:11 pm -
Rails 3.0.2 Ruby 1.9.3 Im currently trying to have a view's instance variable respond to the call 'holiday?' with a boolean. i cant put it in a model's class definition, since i use several classes ...
Rynn Steinbolt
Jun 9, 2016 at 9:41 pm
Jun 9, 2016 at 10:31 pm -
Hi Everyone, I came across the mean stack article on online. it is very interesting and useful for me. you can also read the below link. www.optisolbusiness.com/insight/why-stay-mean-technically -- ...
Manikandan Suriyamoorthi
Jun 9, 2016 at 11:51 am
Jun 9, 2016 at 11:51 am -
I want to communicate with printer by using ruby language. i am using socket programming to communicate with printer. my printer ip is "192.168.24.687" and port number is "20000". Below is the code ...
Sanjay Salunkhe
Jun 8, 2016 at 9:35 am
Jun 8, 2016 at 9:47 am -
How can i refactor the below code class BlogPostsController < ApplicationController def ex @p_p = B.where(‘published_at <= ?’, Time.now) @unp_p = BlogPost.where(‘published_at = ? OR published_at ?’, ...
Hem Chan
Jun 8, 2016 at 1:10 am
Jun 8, 2016 at 11:25 am -
How would I optimize the following code? def posts_for_30_blogs blogs = Blog.limit(30) blogs.flat_map do |blog| blog.posts.to_a end end -- Posted via http://www.ruby-forum.com/. -- You received this ...
Hem Chan
Jun 8, 2016 at 1:06 am
Jun 8, 2016 at 4:31 am -
Hi I'm trying to write an api, but I'm having an issue with the controller not returning "hi" Controller: class ApisController < ApplicationController before_action :set_api, only: [:show, :edit, ...
Yamazaki
Jun 7, 2016 at 4:23 pm
Jun 7, 2016 at 4:23 pm -
While filling the form in my rails app I want to give option to start date from today onwards not past date. How can we do that? here's my code ...
Ankit Raj
Jun 7, 2016 at 12:22 pm
Jun 7, 2016 at 1:19 pm -
I want to get accept only present date or future date in my form , no past date. Here is my code https://gist.github.com/aj07/54db84129929577fde58f23c2c282441 any help would be appriciated. With ...
Ankit Raj
Jun 7, 2016 at 9:09 am
Jun 7, 2016 at 9:09 am -
Hello , here I am making an e-commerce app. While testing I found my tab button doesn't works for safari and chrome while it works for firefox. It will be great if someone can help me in figuring ...
Ankit Raj
Jun 7, 2016 at 5:34 am
Jun 7, 2016 at 7:18 am -
Hi guys, I'm trying to find a chat with RoR developers. Something like this: https://telegram.me/rubylang Can you recommend me any chats with a big Ruby/RoR community? Do they exist? Or, as ...
Pavel Sh
Jun 6, 2016 at 4:26 pm
Jun 7, 2016 at 2:56 pm -
Hi folks! Im currently trying to generate diagrams with a js lib and rails. It doesn't work, though, since I can't figure out how to embed ruby code to supply the diagrams with data. My editor ...
Rynn Steinbolt
Jun 5, 2016 at 10:14 pm
Jun 6, 2016 at 2:57 pm -
0
[Rails] Adding before_action statement and new methods in Application controller using Rails Engine
Hi, Developing Rails Engine. Using Rails Engine, I have to include new methods and to add before_action statement in Application controller of app without in any changes in application level ...Kumar Ca
Jun 4, 2016 at 8:50 am
Jun 4, 2016 at 8:50 am -
Hello Folks! Im stuck with my current task, partly because there seems to be a lack of basic understanding of syntax i cant pinpoint. I hope you can show me a way out! What Im trying to do is ...
Rynn Steinbolt
Jun 3, 2016 at 7:16 pm
Jun 3, 2016 at 7:49 pm -
Hi, all! I am very new to Ruby and working my way through a course and have a reached a point where I cannot figure out what I'm doing wrong. Here is a link to my project on GitHub ...
Michelle McManus
Jun 3, 2016 at 4:04 pm
Jun 3, 2016 at 11:55 pm -
Hey! I want to execute some SQL after the connection has been established (for example `SELECT set_limit(0.2)` to set the trigram match threshold in PostgreSQL). I'm looking for something like ...
Greg Navis
Jun 3, 2016 at 9:23 am
Jun 3, 2016 at 9:23 am -
<textarea id="selectedRowsId" style="width: 60rem;min-height:8rem; margin: 1rem 0 1rem 4rem;" Kiran Trimukhe</textarea I want to get text here it is "Kiran Trimukhe" I want to automate this using ...
KIRAN Trimukhe
Jun 2, 2016 at 3:25 pm
Jun 3, 2016 at 7:53 am -
Hi Recently I have asked the same question over here. Here is the mail thread <https://mail.google.com/mail/u/1/#inbox/155016b2b21f755e . I have gone through a post <http://khalsa.guru/posts/17 and I ...
Siva subrahmanyam
Jun 2, 2016 at 1:13 pm
Jun 2, 2016 at 1:13 pm -
A guide to configure your Ubuntu installation and deploy a Ruby on Rails application. Lock down the settings to prevent unwanted access ...
Dave Kimura
May 31, 2016 at 12:39 pm
May 31, 2016 at 12:39 pm -
Hi , This has been a daunting task . One i type 'rails s' on my console i get no error .. but doesn't reflect on localhost:3000 on any of my browsers. Also the problem is only with my existing ...
Palak Mehta
May 30, 2016 at 11:58 am
May 30, 2016 at 12:33 pm -
What I am trying to do is setup a set of joins that do the following User has a global role such as :global_admin, :building_admin, etc I also have Organizations, Districts, and Buildings I would ...
John Sanderbeck
May 29, 2016 at 3:46 pm
May 29, 2016 at 5:18 pm -
Hi Railsers, I'm trying to install rails 5. I've tried both beta4 and rc1, but both fail with the same problem - installing the turbolinks gem. There seem to be a number of versions of the gem on ...
Graham Menhennitt
May 29, 2016 at 8:51 am
May 29, 2016 at 9:09 am -
The way to implement arrays in ActiveRecord is via has_many. But, normally Ruby arrays keep the order of elements, while has_many do not. This is not just a matter of "order by" clause. At every ...
Zdravko Balorda
May 27, 2016 at 1:20 pm
May 28, 2016 at 9:17 am -
<https://lh3.googleusercontent.com/-o2gbqN30EsM/V0dsLwo9ybI/AAAAAAAABGk/2L8tE4SSAvQkNth0yBbrlg5GXPjbhLtqwCLcB/s1600/Clipboard01.jpg Hello, I am doing this tutorial, currently in Chapter 5. I am ...
Ad Rienks
May 27, 2016 at 7:59 am
May 27, 2016 at 12:59 pm -
I am an experienced full-stack web developer. My best project can be seen live [here](http://www.awesomeweb.com) - here is the [story](http://www.incomediary.com/awesomeweb-story) back then. I solo ...
Stefanos I.
May 26, 2016 at 8:08 pm
May 26, 2016 at 8:08 pm -
which toll should i use? my task needs to be run after 1 hour or other time unit afte r the record has been created. thx tom -- You received this message because you are subscribed to the Google ...
Tom
May 26, 2016 at 2:37 pm
May 27, 2016 at 10:30 am -
Hi guys, I have a select tag in which I need to display schedule values. Basically I need to do something like this: <%= form.association :schedule, collection: @schedules % The problem I'm having is ...
Rafael Soares
May 26, 2016 at 11:36 am
May 26, 2016 at 11:36 am -
-
Hello, Someone had work with this two above gem's ? I wanna add function for saving *user_id* in *session *datatable. Thanks for help. -- You received this message because you are subscribed to the ...
Przemek Kosakowski
May 25, 2016 at 1:53 pm
May 25, 2016 at 1:53 pm -
I'm building a web site. There will be users and admins. Users will have their own authentication panel and admins must have absolutely different authentication entry point and administrative panel ...
John Smith
May 25, 2016 at 1:51 pm
May 26, 2016 at 8:08 am -
i am getting the missing template error when i try to update my post. Missing template posts/update, application/update with {:locale= [:en], :formats= [:html], :variants= [], :handlers= [:erb, ...
Aditya Tyagi
May 25, 2016 at 11:41 am
May 27, 2016 at 12:12 pm -
What we have is a table with an email field - collation *latin1_swedish_ci* because of the limitations of our email service ...
Saurav Kothari
May 25, 2016 at 10:52 am
May 25, 2016 at 10:52 am -
I wrote a fairly lengthy post a few minutes ago in the hope of getting some help. But after it was posted I cannot see it in the list of topics in the group. Search results show nothing. Where did it ...
Saurav Kothari
May 25, 2016 at 10:52 am
May 27, 2016 at 12:05 pm -
my SO Link http://stackoverflow.com/questions/37416737/change-label-based-on-selected-dropdown-ruby-on-rails-4-2 I have a table called network it has the column type and number. I use this select_tag ...
Marcus Chia
May 25, 2016 at 5:49 am
May 25, 2016 at 5:53 am -
I have a search view which collects a search term from a user and then passes them to the search result view. The results view is constructed in two parts: 1) basic server side rendering which builds ...
Dave Bell
May 25, 2016 at 2:45 am
May 25, 2016 at 2:45 am
Group Overview
group | rubyonrails-talk |
categories | rubyonrails |
discussions | 10,133 |
posts | 34,359 |
users | 4,200 |
website | rubyonrails.org |
irc | #RubyOnRails |
Top users
Archives
- June 2016 (104)
- May 2016 (177)
- April 2016 (212)
- March 2016 (326)
- February 2016 (262)
- January 2016 (347)
- December 2015 (363)
- November 2015 (424)
- October 2015 (268)
- September 2015 (377)
- August 2015 (290)
- July 2015 (535)
- June 2015 (430)
- May 2015 (335)
- April 2015 (458)
- March 2015 (348)
- February 2015 (388)
- January 2015 (436)
- December 2014 (433)
- November 2014 (370)
- October 2014 (329)
- September 2014 (419)
- August 2014 (468)
- July 2014 (504)
- June 2014 (72)
- May 2014 (313)
- April 2014 (488)
- March 2014 (484)
- February 2014 (403)
- January 2014 (422)
- December 2013 (322)
- November 2013 (371)
- October 2013 (478)
- September 2013 (436)
- August 2013 (448)
- July 2013 (643)
- June 2013 (559)
- May 2013 (750)
- April 2013 (575)
- March 2013 (791)
- February 2013 (578)
- January 2013 (687)
- December 2012 (681)
- November 2012 (874)
- October 2012 (928)
- September 2012 (1,187)
- August 2012 (905)
- July 2012 (1,015)
- June 2012 (916)
- May 2012 (836)
- April 2012 (1,031)
- March 2012 (1,125)
- February 2012 (1,678)
- January 2012 (1,451)
- December 2011 (1,289)
- November 2011 (1,257)
- October 2011 (1,239)
- September 2011 (551)