Search Discussions
-
I want to test performance of project. So i want make 10000 record of table for testing. I don't know how to ganerate record. Who can help me? Thanks. -- Posted via http://www.ruby-forum.com/. -- You ...
Haxuan lac
Apr 5, 2013 at 3:08 pm
Apr 14, 2013 at 4:35 pm -
Hi, I am using Ubuntu13.04. I have installed Ruby2.0 using RVM. But now looking for any guideline to install nokogiri and selenium-webdriver. But not found any concrete step by step instructions to ...
Love U Ruby
Apr 28, 2013 at 7:43 pm
Apr 30, 2013 at 12:44 pm -
I am new to Ruby on Rails. I just installed the ROR taking reference from here - http://railsinstaller.org/ Now I am set with the installation. But I will do here lot's of home practices. Now my ...
Love U Ruby
Apr 13, 2013 at 8:22 am
Apr 15, 2013 at 4:52 pm -
I'm working on a videogame database, where users can signup, make game entries, rate and review them. I have the Models: User, Game, Rating and Review. Each user can give his own rating to any game, ...
Ryo Saeba
Apr 15, 2013 at 8:22 pm
Apr 17, 2013 at 3:24 pm -
Hello Everyone, Can anyone please describe the relationship of javascript-runtime to Ruby on Rails? In Mac OSX, I do not get this error, but in Linux for every new project generated by "rails new", I ...
Peter
Apr 4, 2013 at 12:14 pm
Apr 8, 2013 at 3:36 pm -
Is it possible to dynamically create new databases and tables within them with Rails? Or is that a task best done manually? I'm creating an application which should allow users to store their own ...
Johan Vauhkonen
Apr 4, 2013 at 6:29 am
Apr 4, 2013 at 9:24 am -
Did a little test, which verifies that the upgrade ship_date field data matches during the upgrade. Test code below. Can not quite figure out how and what to pass to get method. The test does not ...
Dmitrij B.
Apr 5, 2013 at 1:23 pm
Apr 5, 2013 at 2:48 pm -
I'm planning on creating a single page application using AngularJS on the client side. I'm not sure if I should use Rails as it is, or the Rails API gem or some other solution. Anyone got any ...
Johan Vauhkonen
Apr 3, 2013 at 8:51 am
Apr 5, 2013 at 11:57 am -
Hi I am building a Rails application which aims at facilitating two users to collaborate on a web page based on their user id. The user matching process is a controlled one since the app is for ...
Karan verma
Apr 19, 2013 at 7:26 am
Apr 22, 2013 at 5:42 am -
I currently have javascript in my view and it contains inputs so users can input values <input type = "text" name = "date8" id = "date8" value = "" size =25 I want to be able to access the value in ...
Ronald Zhang
Apr 19, 2013 at 3:04 pm
Apr 19, 2013 at 10:51 pm -
Hello all, I'm trying to understand how to include a stylesheet that is inside a sub directory in my css assets folder. The folder to include is app/assets/css/fonts - folder of fonts and a ...
Vell
Apr 16, 2013 at 7:57 pm
Apr 17, 2013 at 1:50 pm -
How to set some variables on bootstap? I need a few variables to be initialized with default values every request. For example in ZF there is a class Bootstrap whose methods are called automatically ...
Wins Lin
Apr 14, 2013 at 10:26 pm
Apr 15, 2013 at 1:18 pm -
Developing an application with angular I came into a problem. In my application I use cancan ( https://github.com/ryanb/cancan ). Now when showing data in a table i have to filter if the logged user ...
Filip Matošić
Apr 15, 2013 at 7:18 am
Apr 15, 2013 at 10:53 am -
5
[Rails] How to use scopes in rails to query the database for a subset of information and display it
am a beginner and I appreciate an answer to help me understand where my knowledge gap is: The app is to display a post. The posts belong to a category (appetizers, entrees...) My thought was to use ...Akkdio
Apr 29, 2013 at 10:40 pm
May 1, 2013 at 1:47 pm -
I have 2 controller phone phones_feature I want to give a link from phone index page to phones_feature index page and also my link is an image here is my code <%=link_to image_tag(phone.image, :class ...
Cihad yildiz
Apr 25, 2013 at 8:36 am
Apr 25, 2013 at 11:02 am -
There is no any mention about it neither in API nor in Guide. How to use these features? The only gist with two sentences is in db/seed.rb file. That's really not enough. -- Posted via ...
Wins Lin
Apr 21, 2013 at 11:26 am
Apr 22, 2013 at 4:39 am -
hi all: I have met the "Can't mass-assign protected attributes: " problem. I have two models. one is province class Province < ActiveRecord::Base attr_accessible :name has_many :cities ...
Cooker Kang
Apr 6, 2013 at 10:47 am
Apr 7, 2013 at 6:05 am -
hi i have a problem in graphs: am representing data in graphical view and in that i put from date, end date and search button when i select from date, end date and when i press search, values are ...
Praneeth
Apr 4, 2013 at 5:18 pm
Apr 5, 2013 at 5:06 pm -
Howdy, I am making a few AJAX endpoints using rails, and noticed the following inconsistent behavior when setting the Content-Type to application/json. Here are four different requests to show the ...
Robert
Apr 18, 2013 at 7:06 am
Jan 25, 2014 at 6:16 pm -
Hi All, just in a spot of bother with this gem, I am trying to create a new location and get the above msg. here is my controller: class LocationsController < ApplicationController # GET /locations # ...
Jax
Apr 2, 2013 at 2:34 pm
Oct 31, 2013 at 5:33 am -
rails 3.2.11 My app has User model, its one of the fields is entrepreneur:boolean. So users have two types; one is normal users, the other is professional users. For normal users, only emails and ...
Soichi Ishida
Apr 27, 2013 at 10:41 am
Apr 29, 2013 at 7:06 am -
I just launched a new tool for Open Source projects: Pull Request Roulette (http://www.pullrequestroulette.com). Check it out and let me know what you think. -- Dave Aronson, the T. Rex of Codosaurus ...
Dave Aronson
Apr 23, 2013 at 11:43 pm
Apr 28, 2013 at 1:14 pm -
I'm looking for examples of Ruby scripts that are long AND well-written. I have a Ruby script for scraping information on stock ETFs and mutual funds and storing the data in a Postgres database at ...
Jason Hsu, Android developer
Apr 23, 2013 at 2:59 pm
Apr 27, 2013 at 4:44 am -
What are "pages that require authentication"? Are they just the pages with a form for authentication? Like the main page of facebook.com when you are not logged in? Then why is it impossible to cache ...
Wins Lin
Apr 25, 2013 at 2:38 pm
Apr 25, 2013 at 4:20 pm -
Hello everybody, i'm using ruby 1.8.6 and rails 1.1.6 for my web app. My app is accessible both in http and https but i would like to enforce https only even when the user try to access using http ...
Gianpiero Venditti
Apr 17, 2013 at 7:21 pm
Apr 23, 2013 at 12:15 pm -
As advised at Heroku (https://devcenter.heroku.com/articles/rails-asset-pipeline), I modified the config settings in application.rb file: config.assets.initialize_on_precompile=false then compiled ...
Javix
Apr 22, 2013 at 10:06 am
Apr 22, 2013 at 11:34 am -
Hi guys! I am an old procedural programmer learning Rails and object orientation. :) I wish to create a little system to help my wife who is a teacher. The attached PDF file has the preliminary ...
Leandro Peracchi
Apr 19, 2013 at 1:46 pm
Apr 20, 2013 at 3:15 am -
Hi, Still learning rails and have a basic question. Can I pass any variable thru the params hash to an action? eg "in_progress" View: <%= f.submit "Add image/video", :in_progress= "true" % ...
Dave Castellano
Apr 19, 2013 at 2:13 am
Apr 20, 2013 at 2:28 am -
Hey Better way for creating menu in rails, whe can i read about this? Wich gems better use or manually add? Maybe have topics about this, whe can i read more? -- Posted via ...
Dmitrij B.
Apr 16, 2013 at 1:58 pm
Apr 17, 2013 at 9:12 am -
HI guys, I just came through an example on code of the place I work for that said something like this could be vulnerable to sql injection attacks: scope :with_name, lambda { |name| ...
Andreo
Apr 12, 2013 at 11:22 am
Apr 15, 2013 at 10:45 pm -
Hi, I'm learning Rails and am getting an error following a query. I think I'm missing something simple and would appreciate guidance. In controller: [code]@pictures = ...
Dave Castellano
Apr 13, 2013 at 12:56 am
Apr 13, 2013 at 1:17 pm -
This guy is using godaddy shared hosting for his wordpress blog. I think it's currently $5 a month. I was thinking to use Rails for his next project. But I wouldn't want costs to exceed more than $20 ...
John Merlino
Apr 4, 2013 at 2:39 pm
Apr 4, 2013 at 3:09 pm -
As you may know, this gem initializer file has code, which you need to uncomment to show validation error inline to every form field: # Uncomment the following block if you want each input field to ...
Barry
Apr 1, 2013 at 9:07 pm
Apr 3, 2013 at 11:39 pm -
Hello All, I want to pass conditions in respond_with like this: user = User.where("updated_at = :start_date AND updated_at <= :end_date", {:start_date = some_date, :end_date = Time.now}) ...
Avi
Apr 2, 2013 at 9:49 am
Apr 3, 2013 at 5:48 am -
Hi guys when i'm doing bundle install i got this type of error whats this? please help me. rajesh@rajesh:~/workspace/Cybermedia_Test$ bundle install Fetching gem metadata from ...
Kanna
Apr 23, 2013 at 12:22 pm
May 14, 2013 at 3:30 pm -
I saw some of the tutorials on how to migrate from sqlite to postgresql, but it is either for mac or it is for a new/fresh app. What if I already have an App with data sqlite in it. I am using rails ...
Dil Takodil
Apr 30, 2013 at 8:57 am
Apr 30, 2013 at 9:29 pm -
when you add a gem to the Gemfile and then run bundle install, where does the command look for the gem? If you had "gem 'rails', :git = 'github.com/rails/rails.git", I assume it would update your ...
John Merlino
Apr 27, 2013 at 4:27 pm
Apr 27, 2013 at 4:35 pm -
Hi, I’m an amateur learning rails and could use some help… I created a join table “pictures_questions” and append to it in the following way: @picture = Picture.new(params[:picture]) … if ...
Dave Castellano
Apr 24, 2013 at 6:01 pm
Apr 27, 2013 at 5:16 am -
Hello all, I am using a jquery plugin to search content on a page and highlight keywords. The function call looks like this: <script type="text/javascript" $('div').highlight('@found'); </script I ...
Brentwood R.
Apr 25, 2013 at 5:21 pm
Apr 25, 2013 at 11:52 pm -
I have been looking for answer.but nothing quite fit my description. My rails app keeps crashing with routing error.when i restart Apache, it will go back to normal.users can logs in,do something on ...
Jane d.
Apr 24, 2013 at 7:56 am
Apr 25, 2013 at 5:40 pm -
I am using Learningrails.com tutorials and I am on lesson 10. I am having a few issues: 1) I cannot find a way to render the HTML tags. The method they used was insert in the ...
Kunal Patel
Apr 25, 2013 at 6:24 am
Apr 25, 2013 at 8:39 am -
All of the Rails tutorials I've looked at seem to revolve around creating a new database and then making the contents of the database accessible through the web page. The URL ...
Jason Hsu, Android developer
Apr 25, 2013 at 4:13 am
Apr 25, 2013 at 8:39 am -
Hi! I have a User model that has_and_belongs_to_many Awards. The awards table is pre-populated, and there's an awards_users join table. In a rails console, If I do: u = User.find(1) ...
Paul Ols
Apr 24, 2013 at 8:19 am
Apr 24, 2013 at 4:08 pm -
Quick question. Often I add a gem to my Gemfile and then run bundle install and I notice that it installs a bunch of other stuff (in addition to what I wanted): Installing warden (1.2.1) Installing ...
John Merlino
Apr 23, 2013 at 9:53 pm
Apr 23, 2013 at 11:39 pm -
Hello all, FlannelBeard here. I've got a project coming up for work that I think can use rails. I want to impress my boss. It does require a database and it will need to process credit card ...
Flannel Beard
Apr 23, 2013 at 8:46 am
Apr 23, 2013 at 10:55 am -
I am following below link. https://github.com/mileszs/wicked_pdf Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To ...
Fahim Patel
Apr 22, 2013 at 7:59 pm
Apr 22, 2013 at 8:36 pm -
Can anyone suggest an advanced resource for learning proper ROR testing? I've been writing web apps with ROR for nearly a year now but have been neglecting to write the proper test suites as I'm not ...
ROR User
Apr 21, 2013 at 3:53 pm
Apr 22, 2013 at 11:59 am -
I need a little support with js. Would be great.. I have a textfield with a hover function. If click on the popup I want a value 0 dropped into the textfield. With the code below just a alert ...
Werner
Apr 17, 2013 at 12:37 pm
Apr 18, 2013 at 10:41 pm -
My app lets users to create educational tests on various subjects, and then another users can complete them. Each User has some kind of Profile. There should be opportunity to add tests they like in ...
Barry
Apr 17, 2013 at 2:07 pm
Apr 17, 2013 at 4:00 pm -
(Snr. / Lead) Ruby Developers – you’re invited to join an fantastic VC backed Cloud business based in Shoreditch, London to work on a unique and exciting, new platform! Think creating the eBay of ...
Olivia Dunford
Apr 16, 2013 at 3:05 pm
Apr 17, 2013 at 3:15 pm
Group Overview
group | rubyonrails-talk |
categories | rubyonrails |
discussions | 184 |
posts | 575 |
users | 150 |
website | rubyonrails.org |
irc | #RubyOnRails |
150 users for April 2013
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)