FAQ

Search Discussions

234 discussions - 874 posts

  • Hey guys, I am trying to build an web app. I am running Rails 3. I just want to make a call to a controller method from my javascript(view part). Most of the links says AJAX. But I dont know whether ...
    Nikhil rnNikhil rn
    Nov 26, 2012 at 9:28 am
    Nov 28, 2012 at 9:38 am
  • Hi all , I have create new application in rails with sqlite3 . Its totally confusing to me when i see my database.yml file. Reason of confusing is what type of extension is given to database ? I have ...
    Fahim PatelFahim Patel
    Nov 7, 2012 at 11:50 am
    Nov 7, 2012 at 4:28 pm
  • Hello, I have my source here : https://github.com/roelof1967/tamara When I do cucumber I get this error message : Then he should see "Welcome, Aslak" # features/step_definitions/login_steps.rb:27 ...
    RoelofRoelof
    Nov 3, 2012 at 8:43 pm
    Nov 8, 2012 at 3:04 pm
  • Are you updating the values by calling $.ajax or just passing in remote: true on your forms? If you use $.ajax, I suggest that you pass in the sum as json which $.ajax can process. If you're using ...
    Jim Ruther NillJim Ruther Nill
    Nov 19, 2012 at 2:30 pm
    Nov 20, 2012 at 1:56 pm
  • Hi, I have a controller named Users with index action. def index puts "************* #{params[:city]}" ... ... end From the view, link_to(:city, list_users_with_city_path(:city = city.name)) But when ...
    Sumit SrivastavaSumit Srivastava
    Nov 30, 2012 at 4:51 am
    Nov 30, 2012 at 9:23 am
  • Hi, I unable to follow DRY principle. I struck in situation where actions are same but controller are different.Wait,let me explain you with example . http://www.example.com/en/xyz/abc ...
    Paritosh P.Paritosh P.
    Nov 16, 2012 at 8:17 am
    Nov 18, 2012 at 11:16 am
  • Hello All, I am stuck in nested attributes:- here is my code :- User.rb :- has_one :address accepts_nested_attributes_for :address Address.rb :- belongs_to :user _form.html.erb:- <%= simple_form_for ...
    AviAvi
    Nov 21, 2012 at 4:32 am
    Nov 21, 2012 at 3:59 pm
  • I have a model Reservation with reserved_from and reserve_to attributes of type date. I want create a scope of all reservations where Date.today is between reserved_from and reserved_to. In the model ...
    MauroMauro
    Nov 14, 2012 at 9:07 pm
    Nov 16, 2012 at 8:46 am
  • I'm very new to Rails and I'm quite confused if I can practice Rails in offline mode? I'm following the Ruby on Rails Tutorail by Michael Hartl and I noticed that after generating a new app through ...
    Elmer A. SiaElmer A. Sia
    Nov 7, 2012 at 1:38 pm
    Nov 9, 2012 at 1:30 am
  • Hi all, from last 1 hour i am facing one problem. I have written a code for creating user and show them in index page after save. Code is working perfectly but on index page i am getting all record ...
    Fahim PatelFahim Patel
    Nov 3, 2012 at 11:46 am
    Nov 20, 2012 at 2:29 pm
  • Hi all, I have just move towards to learn Ajax . Before learning Ajax one big question raised to me what to use haml or erb. From day one of Rails, i have used only .erb files. I read DRY feature of ...
    Fahim PatelFahim Patel
    Nov 7, 2012 at 7:29 am
    Nov 8, 2012 at 1:25 pm
  • I am trying to debug a database adapter for active record, and I have a case where it spits back after all tests have run a partial error message with no context at all. For example: Exception ...
    Robert BuckRobert Buck
    Nov 30, 2012 at 6:43 pm
    Dec 4, 2012 at 9:32 am
  • Hi, I have a controller named users and index action in it. By default I have the path get '/users' = 'users#index', :as = 'users' Now I want to create one more path with a different parameter being ...
    Sumit SrivastavaSumit Srivastava
    Nov 28, 2012 at 8:42 am
    Nov 28, 2012 at 11:34 am
  • Hi Folks, This is my sample url: *http://xxxx.com/product_details? ...
    MaddyMaddy
    Nov 28, 2012 at 9:34 am
    Dec 3, 2012 at 2:54 pm
  • Hi, I have a view in which a table is created with one head elements of the table are defined like, %table.data-table{'data-searchable' = 'true'} %thead %tr %th Email %th.no-sort Name %th Registered ...
    Sumit SrivastavaSumit Srivastava
    Nov 29, 2012 at 8:48 am
    Nov 29, 2012 at 11:41 am
  • I am new to the language and trying to add a couple of simple tests on user input, followed by a DB query, then using the returned values (where the problem lies) I first run a find_by_sql similar to ...
    Jeff LockyerJeff Lockyer
    Nov 7, 2012 at 8:07 pm
    Nov 8, 2012 at 1:48 pm
  • When I began learning rails I found it frustrating that array and active record relation objects could not be queried in the same fashion as database tables. Before too much confusion let me ...
    AbramAbram
    Nov 3, 2012 at 9:43 pm
    Nov 5, 2012 at 8:38 am
  • Whats is the idea behind using self.method_name ????? please help Thanks. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby ...
    Manoj M.Manoj M.
    Nov 28, 2012 at 10:00 am
    Dec 4, 2012 at 7:33 am
  • Add render_views https://www.relishapp.com/rspec/rspec-rails/v/2-12/docs/controller-specs/render-views Dheeraj Kumar -- You received this message because you are subscribed to the Google Groups "Ruby ...
    Dheeraj KumarDheeraj Kumar
    Nov 26, 2012 at 12:50 pm
    Nov 27, 2012 at 8:36 am
  • Hi, This query is a replica of the link http://railsforum.com/viewtopic.php?id=51231. As I was unable to get any replies from the rails forum, I am posting the same here. I have developed an app ...
    Nikhil rnNikhil rn
    Nov 14, 2012 at 6:46 am
    Nov 21, 2012 at 4:35 pm
  • I am new to PHP programming and came across Ruby on Rails. I want to move towards an actual job in programming and wonder if I need to learn Ruby on Rails? -- You received this message because you ...
    MM
    Nov 11, 2012 at 11:44 am
    Nov 13, 2012 at 3:49 am
  • When I have this pattern sign_me(@user, :event = :authentication, :subdomain = subdomain) how can I write it to avoid sending the :subdomain option if subdomain.nil? ( if possible ..) ...
    ErwinErwin
    Nov 9, 2012 at 7:28 am
    Nov 9, 2012 at 4:19 pm
  • Hi all, Is we have to restart the server when we do any changes in environment.rb ? May i know in which file if we make changes than we have to restart the server (development)? Thanks Regards Fahim ...
    Fahim PatelFahim Patel
    Nov 5, 2012 at 10:47 am
    Nov 7, 2012 at 1:48 pm
  • Hi, I'm not surely if I'm going to be able to explain well ... We have a Rails 3.2 with backend PostgreSQL. We have 5 models that are nested/related between them, and all must be ...
    Mongeta 99Mongeta 99
    Nov 19, 2012 at 5:23 pm
    Nov 20, 2012 at 4:43 pm
  • Hello! I am using this example for file uploader.<https://github.com/tors/jquery-fileupload-rails-paperclip-example Before uploading a file I would like to open it, search for a specific word, assign ...
    AkvarelAkvarel
    Nov 18, 2012 at 6:27 pm
    Nov 19, 2012 at 2:34 pm
  • Hi, RoR newbie here. Fairly new, anyway. :). I have a cancan question I'm hoping someone can help me with. I have two models - ProposalRequest and Proposal. Each ProposalRequest can have many ...
    Stan McFarlandStan McFarland
    Nov 13, 2012 at 11:08 pm
    Nov 15, 2012 at 11:14 am
  • Rails 3.1.3 rspec-rails (2.11.4) rspec 2.11.1 I am new to rspec. I don't quite understand tests for POST create part. I have generated scaffold, and simultaneously it generated controller_spec.rb as ...
    Soichi IshidaSoichi Ishida
    Nov 12, 2012 at 9:20 am
    Nov 14, 2012 at 10:05 am
  • Hi all, Question Give me some quick start to Ajax but should be simple because i have only theoretically knowledge of Ajax. Thanks Best Regards Fahim Babar Patel -- You received this message because ...
    Fahim PatelFahim Patel
    Nov 7, 2012 at 10:42 am
    Nov 8, 2012 at 9:23 am
  • Instead of asking the user to click on links to navigate to a new page, how can I implement automatic page navigation? I would imagine there is a method something like: if condition then move_to ...
    Joz PrivateJoz Private
    Nov 20, 2012 at 3:34 pm
    Sep 1, 2014 at 1:23 pm
  • Rails 3.1.3 I am wondering if has_and_belongs_to_many association can be used for a single model? More specifically, say I have a model called, Person, another model called Meeting. Person 1 and ...
    Soichi IshidaSoichi Ishida
    Nov 29, 2012 at 3:33 am
    Nov 29, 2012 at 9:02 am
  • Hi All, I have developed an application using ROR and MySql as the database and now i need an open source reporting tool to generate reports from my database. Any suggestions would be highly ...
    Goutham d.Goutham d.
    Nov 27, 2012 at 7:43 am
    Nov 27, 2012 at 2:22 pm
  • Heroku seems to have pretty much become the standard for Rails apps just starting out. Any time anyone asks which is the best host, the answer always seems to be Heroku. But, correct me if I'm wrong, ...
    Alexander DiMauroAlexander DiMauro
    Nov 26, 2012 at 1:36 am
    Nov 26, 2012 at 10:07 pm
  • I have set match '/:locale' = "welcome#home", :as = :root but it doesn't cover the default case, when user enter the domain url wo locale, http://www.myapp.com Is there any way to default it to the ...
    ErwinErwin
    Nov 13, 2012 at 2:31 pm
    Nov 15, 2012 at 7:38 am
  • I'm not sure how best to do this. I have a project that has Features (these are video links) that go into a homepage. It also has Events, which get displayed in a table, can be clicked on, and a page ...
    RVinceRVince
    Nov 13, 2012 at 4:22 pm
    Nov 13, 2012 at 8:51 pm
  • Hey friends! I am in the process of drafting a funding proposal to submit to my university and I have no idea what costs I should include for my Rails app. My application will open to my university's ...
    Why-elWhy-el
    Nov 9, 2012 at 5:58 pm
    Nov 11, 2012 at 1:03 am
  • Hello everybody. I have two models user and user_information. the User has_one user_information and the UserInformation belongs_to user. Now I need to make a form_for to create the user information ...
    JeanJean
    Nov 5, 2012 at 7:32 pm
    Nov 7, 2012 at 1:40 pm
  • Hi all i am install Ruby Enterprise Edition on CentOS 5.8 linux server. i followed this link http://forums.vexxhost.com/discussion/226/deploying-ruby-enterprise-edition-on-the-cloud/p1i did not get ...
    Keerthi priyaKeerthi priya
    Nov 1, 2012 at 12:12 pm
    Nov 4, 2012 at 10:48 am
  • I have my app email me errors when they occur. I get this about 2-3 times a week with thousands of hits a day to the site. pages/show is a .html.erb file that renders the partial ...
    Rick CockerhamRick Cockerham
    Nov 26, 2012 at 6:57 pm
    Apr 26, 2013 at 8:48 am
  • I want to define simple global objects that contain a code and description for custom errors. Is it a bad idea to use structs in an initializer in the app? api_error_constants.rb in ...
    comopasta Grcomopasta Gr
    Nov 29, 2012 at 9:48 am
    Nov 30, 2012 at 1:15 pm
  • Hi , I am facing one problem , when i require //= require jquery_ujs in app.js than i am getting error in console. Q1. What is use jquery_ujs.js ?We have already included jquery.js than why we need ...
    Fahim PatelFahim Patel
    Nov 26, 2012 at 3:58 pm
    Nov 27, 2012 at 11:38 am
  • I'm not sure where my issue is - if it's in my routes file (maybe I need to be more specific) or if it's the format of the URL. I am working on a screen scraping project just for fun. It is designed ...
    Dan BrookingDan Brooking
    Nov 22, 2012 at 12:58 pm
    Nov 22, 2012 at 5:40 pm
  • Hi! In the Rails app I'm developing I have some data stored in the database that acts like constants. For example, I populate a profiles table with all the profile types using seeds.rb. To avoid ...
    Alex Braha StollAlex Braha Stoll
    Nov 21, 2012 at 10:34 pm
    Nov 22, 2012 at 3:29 pm
  • As per Rails doc ( http://guides.rubyonrails.org/plugins.html#extending-core-classes ) my app being yoodle I added in yoodle/lib yoodle.rb require "yoodle/core_ext" module Yoodle end in ...
    ErwinErwin
    Nov 20, 2012 at 5:15 pm
    Nov 21, 2012 at 9:27 am
  • I am having an issue where the global variable, $r, which i declared in the controller is being overwritten by my code which is in a view: <%= link_to 'Picks test1', game_pick_page_path, :onclick = ...
    Robert NegronidaRobert Negronida
    Nov 18, 2012 at 8:28 am
    Nov 18, 2012 at 7:19 pm
  • Rails 3.1.3 Is it possible to split form_for block into two parts? More specifically, I want to create and save a model after filling required fields. But some of the fields are not required and ...
    Soichi IshidaSoichi Ishida
    Nov 15, 2012 at 6:16 am
    Nov 16, 2012 at 11:31 am
  • Hi all. I have models: has_many :bookings has_many :projects, :through = :bookings has_many :bookings has_many :weeks, :through = :bookings belongs_to :project belongs_to :week Now I want to get all ...
    WernerWerner
    Nov 13, 2012 at 1:34 pm
    Nov 13, 2012 at 4:02 pm
  • Hey, Suggest me good resources about RSpec. Don't tell me to search in Google. Trust me I did lot!! Thanks -- You received this message because you are subscribed to the Google Groups "Ruby on ...
    AdnanAdnan
    Nov 2, 2012 at 3:00 pm
    Nov 2, 2012 at 9:58 pm
  • Perhaps I'm bing a bit thick and missing something obvious (possible), but I found the caveats listed in section 3.5 of the Associations Rails ...
    Paul LeaderPaul Leader
    Nov 12, 2012 at 11:04 pm
    Oct 9, 2013 at 8:42 am
  • Rails 3.1.3 After watching http://railscasts.com/episodes/258-token-fields?autoplay=true I have installed the similar functionality to my app. However, def index @cities = City.all ... does in fact ...
    Soichi IshidaSoichi Ishida
    Nov 30, 2012 at 4:57 am
    May 10, 2013 at 8:47 am
  • Hello: I'm going crazy with a test of a controller action. This is the test describe "POST changetipo" do it "toggle tipo of tije" do tije = FactoryGirl.create(:tije) puts "--------------- ...
    Raul SanchezRaul Sanchez
    Nov 29, 2012 at 11:30 am
    Nov 29, 2012 at 12:50 pm
Group Navigation
period‹ prev | Nov 2012 | next ›
Group Overview
grouprubyonrails-talk @
categoriesrubyonrails
discussions234
posts874
users171
websiterubyonrails.org
irc#RubyOnRails

171 users for November 2012

Vu R.: 149 posts Colin Law: 111 posts Erwin: 58 posts Fahim Patel: 42 posts Jim Ruther Nill: 39 posts Jordon Bedwell: 37 posts Norbert Melzer: 20 posts Frederick Cheung: 19 posts Sumit Srivastava: 16 posts Roelof: 14 posts Walter Lee Davis: 14 posts Werner Laude: 14 posts Hassan Schroeder: 11 posts Saikiran mothe: 10 posts Matt Jones: 9 posts Tommaso Visconti: 9 posts Mauro: 8 posts Avinash behera: 7 posts RVince: 7 posts Anna: 6 posts
show more