Search Discussions
-
11
[Rails] What's a good way to temporarily store invalid records for validating when importing data?
I'm currently trying to setup daily processes that will import information into my database. I have many records that fail validations, and for the most part I have methods that attempt to ...David McDonald
Oct 13, 2015 at 8:30 pm
Oct 14, 2015 at 5:05 pm -
Inspect your DB directly in your App: https://github.com/igorkasyanchuk/rails_db Demo: https://rails-db.herokuapp.com/rails/db Video: https://www.youtube.com/watch?v=ZBY9YPQdbx8 Put a star if you ...
Igor Kasyanchuk
Oct 16, 2015 at 4:15 pm
Dec 3, 2015 at 10:35 am -
I am trying to pass parameters from an "Events" controller, to an "Invitations" controller and from the Invitations#new to the Invitations#create views. I think I'm pretty close to getting this ...
Matt Puerkel
Oct 13, 2015 at 8:44 pm
Oct 15, 2015 at 1:55 pm -
Hi people, i'm new to rails and have difficulties in actively using the model relationships. I'm building an onlinestore with rails 4.2.4 following the book agile development with rails 4. The ...
Peter williams
Oct 7, 2015 at 5:56 am
Oct 7, 2015 at 3:10 pm -
Hi, this figure should be based on how the controller and view. tanks <https://lh3.googleusercontent.com/-6K9BJ6bcvfE/VhPZNPco2VI/AAAAAAAAACs/8G9JJpMHMeE/s1600/railsresim.jpg -- You received this ...
Emrah Yıldırım
Oct 6, 2015 at 2:23 pm
Oct 6, 2015 at 3:05 pm -
First, before you think to recommend I'm not gonna give my mailing list any third party services because I'm not giving them my precious mailing list to use or sell or disclose I just finished ...
Fugee ohu
Oct 5, 2015 at 7:19 pm
Oct 6, 2015 at 1:40 am -
In my app I have dashboard part where all major function will perform, besides that I have few scaffolds (question, performance etc) which I want to display in that dashboard. I'm little confused ...
Deepak Sharma
Oct 25, 2015 at 12:59 pm
Oct 25, 2015 at 4:53 pm -
I am pretty new to RoR . I am trying to seach for methods which can query MySQL DB get the table data and display that table on a webpage. What are the methods we have for this in RoR? Pls suggest ...
Prashant Girennavar
Oct 14, 2015 at 3:21 am
Oct 14, 2015 at 11:53 am -
I am relatively new to this and completely lost. I'm trying to make a user's profile page. If the user is an admin, they can see all the users, as well as access and edit/update each user's profile ...
Greg Bressler
Oct 9, 2015 at 12:20 am
Oct 11, 2015 at 7:48 am -
Hello Experts, I am new to RoR and have knowledge of programming(asp.net,c#). I wanted to start of with Ruby as its framework like Rails,Dashing Etc excites me. I did try going through some ebooks , ...
Prashant Girennavar
Oct 7, 2015 at 12:17 pm
Oct 7, 2015 at 6:58 pm -
Hello, Which company is providing best cloud storage facility for documents storage? I need economy solution. Thank you. -- You received this message because you are subscribed to the Google Groups ...
Mansi Shah
Oct 7, 2015 at 2:23 pm
Oct 7, 2015 at 5:53 pm -
I have two tables in my app which I am attempting to relate through a join table. The Artist class which uses 'has_many through', works as expected. However, the Event class using 'has_one through', ...
Chris Berry
Oct 8, 2015 at 12:47 am
Nov 5, 2015 at 4:31 pm -
Ruby on Rails is really powerful but eventually you may find Ruby lacking a particular functionality or wishing for a particular feature in course of your work. After all, no programming language is ...
Bharat Manghnani
Oct 19, 2015 at 2:27 pm
Oct 21, 2015 at 6:01 am -
In Rails 4.2, is there a place where I can put code that I want to be called immediately after the rails server starts up (as opposed to when an HTTP request comes in). In other words, I want my code ...
Mike Witt
Oct 16, 2015 at 4:11 pm
Oct 20, 2015 at 2:13 pm -
Hi everyone, In a User model has 4 columns mandatory I have used validate presence true first_name, last_name, username, country. Now if the user is admin and when I want to update his details I ...
Honey ruby
Oct 14, 2015 at 7:56 am
Oct 14, 2015 at 12:31 pm -
Hi , need help from all of you guys on a question that Can we develop a Kisok App using ROR. If yes can you provide me the details or link so that i will go through. Thanks -- You received this ...
VIDYA SAGAR POGIRI
Oct 6, 2015 at 4:35 pm
Oct 13, 2015 at 1:30 pm -
hi, im getting started with STI but having trouble with link_to 1) Model Animal including an type column 2) routes: #resource :animal resources :tiger , :controller = 'animals', type: 'tigler' ...
Tom
Oct 6, 2015 at 3:58 pm
Oct 6, 2015 at 4:18 pm -
Hello guys, I'm 100% newbie in RoR. I have a question, how can I generate report in RoR like crystal report? -- You received this message because you are subscribed to the Google Groups "Ruby on ...
Rodney Jan Mandap
Oct 1, 2015 at 3:07 pm
Oct 1, 2015 at 6:19 pm -
Hi Everyone! I'm Umang Raghuvanshi, and I've made Statusify <https://github.com/ur0/statusify , which is a web-application status app, written in Rails. It aims to be fast, reliable and awesome ...
Umang Raghuvanshi
Oct 4, 2015 at 1:04 pm
Nov 18, 2015 at 7:15 am -
I have a problem with a form that either updates or creates depending on whether the "project" exists already. Im using the def create def create puts params.inspect @project = ...
Chris Maher
Oct 30, 2015 at 9:39 pm
Nov 2, 2015 at 11:05 am -
Hi! My reject_if filter is not working: 2.2.3 :002 params = { lead: {name: 'Eduardo', lastName: 'Campestrini', job_attributes: { company: 'RD' } } } = {:lead= {:name= "Eduardo", :lastName= ...
Eduardo Campestrini
Oct 29, 2015 at 6:58 am
Oct 29, 2015 at 11:30 am -
I am having a devise user model. To login I am using twitter-bootstrap modal.The modal is by default hidden and shown only after an rails default ajax request is send to the server. It works fine ...
Akhil Sharma
Oct 16, 2015 at 7:36 am
Oct 23, 2015 at 6:51 pm -
Hi everyone, I have a question, that I can't seem to find an answer for anywhere. I might be missing something obvious, but the best way to find out is to ask. So, when I re-open Rails, and I want to ...
Darren Brett King
Oct 22, 2015 at 3:10 pm
Oct 22, 2015 at 3:19 pm -
My understanding is that this issue has been present in the last two stable releases of Ruby. I'd rather run Ruby and Rails on my Mac, but Apple's stupidity of forced upgrades of everything is an ...
Chris Ward
Oct 16, 2015 at 12:40 am
Oct 16, 2015 at 12:51 am -
I have a helper like this: def table_elements(qualifier, count) if qualifier yield else return ("<td </td " * count).html_safe end end Then if I do this, what I want to happen is if resp is not null ...
Jedrin
Oct 8, 2015 at 2:39 pm
Oct 8, 2015 at 3:18 pm -
I have the following in a controller method: begin response = Net::HTTP.post_form(URI.parse(File.join(@site.url, 'scan_folder.json')), {inlay_key: @site.key}) @response = ...
Walter Lee Davis
Oct 6, 2015 at 12:36 pm
Oct 7, 2015 at 1:54 am -
Activerecord generates parameterized queries for basic types, but, it does parameterize array types. E.g. Article.where(id: 1) # generates # SELECT "articles".* FROM "articles" WHERE "articles"."id" ...
Faisal Mansoor
Oct 2, 2015 at 5:44 am
Oct 3, 2015 at 7:09 am -
I am attempting to debug some complicated inline templates, because they are generated dynamically with the complicated way this program works. However when doing render inline: "Template here" ...
Kopf1988
Oct 18, 2015 at 9:17 pm
Nov 21, 2015 at 4:33 pm -
I put a .gemrc file in my home directory, the same directory my Gemfile is in, with just "gem: --no-ri --no-rdoc" but when i install gems the docs still get installed, causing me to have to wait -- ...
Fugee ohu
Oct 29, 2015 at 4:54 pm
Oct 30, 2015 at 7:35 am -
How can I refactor this coordinate validation routine so that I can use this method with other fields of the same type, for instance, with "full_last_position" and also maintain the cleanliness of ...
Rodrigo Lueneberg
Oct 28, 2015 at 8:45 pm
Oct 29, 2015 at 4:57 am -
Hi all, In a table there is column called village which is text datatype. Now my question is few records will have 1,2 under village column some records will have only 2 or 1. when I do query I ...
Honey ruby
Oct 28, 2015 at 7:00 am
Oct 28, 2015 at 10:31 am -
Hi all, I have to show data in csv in one cell but in new line. eg: 2015 xyz 2014 abc How can I show this way using csv in rails. am using faster csv. Thanks -- You received this message because you ...
Honey ruby
Oct 27, 2015 at 6:37 am
Oct 28, 2015 at 6:51 am -
Hi All, I am new Ruby on Rails, I had installed as described below on my machine. Could you please advise good editor compatible to the below configuration? And any additional steps required once i ...
Srinivas Kalyan
Oct 27, 2015 at 8:52 am
Oct 28, 2015 at 2:48 am -
Can i have two versions of show.html.erb for the same model.Is it possible. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups ...
Gerardo Abregu
Oct 27, 2015 at 1:56 am
Oct 27, 2015 at 8:32 am -
Does using Angular with rails imply that I have to only send json data to the client, all my links have to be handled by angular and I would not use rails partial rendering ? That is kind of the ...
Jedrin
Oct 22, 2015 at 2:44 pm
Oct 24, 2015 at 12:56 pm -
Hi All. Within the 'success' callback of a $.post call - I'm trying to reload the current page (here's a pastie - http://pastie.org/10496733) My 'post' call works and now I'd like to refresh the ...
Dave Ekhaus
Oct 21, 2015 at 6:10 am
Oct 21, 2015 at 4:27 pm -
Several times I found myself of need of a method that tells whether an ActiveRecord instance has just been created. For example, when writing generic activity logging code that needs to know whether ...
Eugene Gilburg
Oct 21, 2015 at 6:42 am
Oct 21, 2015 at 10:34 am -
I am trying to run a ruby script from my rails controller. The script runs successfully when the rails server is started normally as rails s thin -e development But when rails server is started as a ...
Sam S
Oct 13, 2015 at 11:55 am
Oct 13, 2015 at 6:08 pm -
Hi guys! I got an app that uses a remote SQL server database, this remote server is sometimes unavailable and i have no control over it. The app only uses the database to do stuff after login in with ...
Renato Serra
Oct 11, 2015 at 12:44 pm
Oct 12, 2015 at 3:19 pm -
Hi, I am trying to create a design for user defined tables which could be stored in a database then initialized from a controller as needed. At present I am having a bit of trouble getting these ...
Mark
Oct 30, 2015 at 4:14 pm
Nov 1, 2015 at 4:15 pm -
Hi! I got error message "You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory." when I tried install Rails to my Mac using command line command "gem install rails". I have ...
Arto Lohi
Oct 31, 2015 at 5:39 pm
Oct 31, 2015 at 9:18 pm -
Buenas. Tenía una base de datos ya existente, por lo que no he tenido que realizar migraciones. Para decirle que tablas usa mi modelo he usado: self.table_name = 'nombre_tabla_db' ¿Habría algo igual ...
Tony Leal
Oct 29, 2015 at 6:22 pm
Oct 29, 2015 at 6:47 pm -
While creating CR/NF,Target Version must be auto-filled with a particular target version(Ex:Sprint 1) and It must also be read only.How can I do this requirement Please suggest me -- Posted via ...
Shruthi Ss
Oct 28, 2015 at 11:00 am
Oct 28, 2015 at 11:43 am -
I have not used it, but since no-one else has suggested anything, perhaps prepend_view_path is an option. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on ...
Colin Law
Oct 23, 2015 at 7:20 am
Oct 23, 2015 at 1:48 pm -
Hello guys, is it possible to "customize" filter specific SQL-queries? Maybe in the wice_grid_config.rb ? If so then tell me how please. To mention the problem i have, here it comes: I want to filter ...
Quake Live
Oct 22, 2015 at 9:59 am
Oct 22, 2015 at 11:05 am -
I have created a rails application and want users to login through google, facebook, or twitter, so for that I found oneall.com and I have created account over there. But the problem is that they ...
Sheetalaprasad mishra
Oct 17, 2015 at 7:05 am
Oct 17, 2015 at 2:31 pm -
hi to everybody ! :-) before ask something I prefer to say sorry for may bad english and sorry because I'm a junior developer of rails, in last 3 days I've tried to visualize some statistics in rails ...
Noctua Studio
Oct 16, 2015 at 6:01 am
Oct 16, 2015 at 6:27 am -
Here is m problem C:\Users\Hice.Hice-HP\Sites\simple_cms rails s C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.6.2-x64-mingw32/lib/nokogiri.rb:29:in `require': cannot load such file -- ...
Hristijan Rizeski
Oct 15, 2015 at 7:19 pm
Oct 15, 2015 at 9:40 pm -
I develop an application in rails 3.2 and ruby 1.9 I am using endless scrolls as described in railcars 114. I works fine except when I try to use it on a remote table with remote will paginate. Then ...
Hans
Oct 5, 2015 at 8:37 am
Oct 13, 2015 at 1:37 pm -
I am building an E-commerce website on ruby on rails from scratch. My product belongs to a subcategory which in-turn belongs to a category. My filters partial include multiple check-boxes for ...
Akhil Sharma
Oct 10, 2015 at 7:56 pm
Oct 12, 2015 at 2:51 pm
Group Overview
group | rubyonrails-talk |
categories | rubyonrails |
discussions | 97 |
posts | 267 |
users | 95 |
website | rubyonrails.org |
irc | #RubyOnRails |
95 users for October 2015
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)