Search Discussions

197 discussions - 424 posts

  • i'm trying to create an sql select from listings like this `@listings=Listing.where("category_id in [1, 2, etc.])` i'm using awesome_nested_set and it has a "children" method helper for the Category ...
    Fugee ohuFugee ohu
    Nov 25, 2015 at 12:31 pm
    Nov 26, 2015 at 9:15 pm
  • I have installed; Ruby ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux] Rails 4.2.4 gem 2.5.0 MySQL Phusion Passenger version 5.0.21 + apache But when I run "rake db:create --trace" I get the ...
    Advocatus KakorozyaAdvocatus Kakorozya
    Nov 17, 2015 at 10:29 am
    Dec 3, 2015 at 10:18 am
  • I'm looking for a solution for managing categories My categories table has name , parent_id fields My first challenge is to display all categories on a single page and my next is to build select ...
    Fugee ohuFugee ohu
    Nov 23, 2015 at 8:11 pm
    Nov 30, 2015 at 11:16 am
  • <h2 Categories</h2 <%= @categories.group_by(&:parent_id).each do |category| % <%= category.name % <br <% end % This code results in ActionController returning undefined method `name' for ...
    Fugee ohuFugee ohu
    Nov 21, 2015 at 9:25 pm
    Nov 23, 2015 at 2:40 pm
  • I was reading some ruby one liners. The rescue style seems to make it easy to write short pieces of code, but it feels like I am forcing an error and then just ignoring it in some cases. I guess I am ...
    Nov 5, 2015 at 8:48 pm
    Nov 6, 2015 at 4:50 pm
  • Is there a way to have static content generated from Rails templates without going through the empty controller nonesense? Sometimes a site, especially an old one, has lost of static content and a ...
    Nov 2, 2015 at 2:01 pm
    Nov 4, 2015 at 5:45 pm
  • I wanna display categories in the side pane and listings in the main, both divisions of the same layout How would I do that? -- You received this message because you are subscribed to the Google ...
    Fugee ohuFugee ohu
    Nov 25, 2015 at 8:53 am
    Nov 25, 2015 at 1:43 pm
  • Hi, I am trying to use Fiddle to call C function in dynamic library, I used to be able to pass a return long variable and an error message, but now only return long variable is returned, can't get ...
    Liz HuangLiz Huang
    Nov 20, 2015 at 5:34 pm
    Nov 24, 2015 at 3:55 pm
  • hello group, in order not to have passwords stored in my database.yml, I had inserted a function that read the password from a file that is not under version control. The entry in database.yml looks ...
    Nov 17, 2015 at 10:20 am
    Nov 19, 2015 at 11:49 am
  • In my application I have a drop-down, I want to input a value in a text-field and while inputting it the drop-down should display the option for auto-completing it. Following is the code snippet <div ...
    Deepak SharmaDeepak Sharma
    Nov 7, 2015 at 8:48 pm
    Nov 8, 2015 at 7:05 pm
  • HI there , I am trying to install a ruby gem called rb-grib but I am constantly having issues while doing so. I am using Ubuntu 15.04 So I went to this page http://www.rubydoc.info/gems/rb-grib/0.2.2 ...
    Yash NarwalYash Narwal
    Nov 29, 2015 at 9:17 am
    Dec 6, 2015 at 7:59 am
  • Hi Group, I'm trying to see how Rails at ``startup time'' creates Javascripts within the Clientside of the browser. rails s #starting my program I've used both Byebug within Ruby code and Firefoxe's ...
    Nov 28, 2015 at 7:38 pm
    Dec 1, 2015 at 4:03 pm
  • i'm trying to follow these instructions: in my categories_controller.rb def index @parent_categories = Category.without_parents in my index.html.erb <ul <%= render @parent_categories % </ul in my ...
    Fugee ohuFugee ohu
    Nov 21, 2015 at 6:50 pm
    Nov 25, 2015 at 5:38 am
  • In my app I have 3 tables Patient, Department and Consultant. In patient table I have passed foreign key of other other two tables. Now, In my index view of patient I'm able to fetch data of ...
    Deepak SharmaDeepak Sharma
    Nov 5, 2015 at 9:39 am
    Nov 5, 2015 at 11:04 am
  • I have just gotten to Chapter Four of Michael Hartl's Ruby on Rails Tutorial, and I can't seem to get the program to work after adding a helper to the program. Here is the code from the files ...
    James HaroldJames Harold
    Nov 2, 2015 at 2:16 am
    Nov 2, 2015 at 5:01 pm
  • this snippet which follows another code block under $(document).ready(function () { isn't working, the previous block works, but not this one $('#listing_free_shipping').change(function(e) { if ...
    Fugee ohuFugee ohu
    Nov 30, 2015 at 11:58 pm
    Dec 1, 2015 at 3:32 pm
  • Hi, I want to access the files in folder 2 from the folder 4, I mean my Present Working Directory is 4 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails ...
    Nov 27, 2015 at 9:58 am
    Nov 27, 2015 at 12:28 pm
  • in this example what if i didn't have a values for science, physics and gravity but had to get it from form what field would i use? my guess any of the 3 variables can be substituted with params[:id] ...
    Fugee ohuFugee ohu
    Nov 25, 2015 at 11:30 pm
    Nov 27, 2015 at 8:49 am
  • catalog.html.erb fails to display the listings In catalog.html.erb <div <table <% @category.descendants.each do |category| % <% category.listings.each do |listing| % <%= listing.title % <% end % <% ...
    Fugee ohuFugee ohu
    Nov 25, 2015 at 10:00 pm
    Nov 26, 2015 at 1:29 am
  • It says in the docs that i should put an add_breadcrumb line in my controller for each page i wanna add to the stack and then just render breadcrumbs in my view but when i do that it prints the whole ...
    Fugee ohuFugee ohu
    Nov 26, 2015 at 9:50 pm
    Nov 27, 2015 at 12:06 am
  • Hello all! I am new to all of this and I am trying to accomplish something, and I am hoping that someone will be able to assist me… I am trying to set up a namespace within a dynamic link. I have ...
    Ja OrmanJa Orman
    Nov 9, 2015 at 2:27 pm
    Nov 12, 2015 at 3:31 pm
  • Hi, rails g scaffold gform name:string attribute:string value:string I need to use the attribute column. But I get ActiveRecord error. I solved this by safe_attibut gem. This time the "wrong number ...
    Emrah YıldırımEmrah Yıldırım
    Nov 4, 2015 at 12:28 pm
    Nov 4, 2015 at 1:39 pm
  • Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development Extracted source (around line #392): 390 391 392 393 394 395 def check_pending!(connection = ...
    Eli JacksonEli Jackson
    Nov 3, 2015 at 7:22 pm
    Nov 26, 2015 at 5:02 pm
  • hi, im doing a conversion and im stuck here: class GLEntryVatEntrylink < ActiveRecord::Base self.table_name = 'G_LEntry-VATEntrylink' end 1.9.3-p194 :001 GLEntryVatEntrylink.all NameError ...
    Nov 24, 2015 at 4:29 pm
    Nov 24, 2015 at 8:52 pm
  • Today we released Jackbox RC2. With this release we have concluded the upgrade of the inheritance model and are gearing up for version 1.0. The inheritance model in Jackbox now has to concurring ...
    Nov 18, 2015 at 6:56 pm
    Nov 19, 2015 at 3:28 pm
  • Hi ,i am a newbie in rails and i have recently got a task on my job to migrate the old data from a php website to new rails website.php website data is in mysql and rails data is in postgres,i cannot ...
    Prashant sirohiPrashant sirohi
    Nov 17, 2015 at 1:07 pm
    Nov 18, 2015 at 5:59 pm
  • Hi I want to change the value of a field when another field is updated. Specifically, I want my e mail field to get it's data from the username, the domain always being the same, so username is say ...
    Euan LeslieEuan Leslie
    Nov 16, 2015 at 1:09 pm
    Nov 18, 2015 at 5:55 pm
  • Hello, i am trying to start learning ruby on rails. On my windows i installed ruby version 2.2.0 an rails version 4.2.5. All the gems was installed correctly (i think) and i created new rails ...
    Vakho davlasheridzeVakho davlasheridze
    Nov 15, 2015 at 8:41 am
    Nov 15, 2015 at 4:09 pm
  • Hi, I need to call API using curl in seed.rb Before i have used API like response = HTTParty.get(" https://pipeline.locallabs.com/api/v1/organizations?access_key=XXXXXX") i don't know how to call API ...
    Daynthan KabilanDaynthan Kabilan
    Nov 17, 2015 at 3:14 pm
    Nov 23, 2015 at 4:09 pm
  • I hope someone can help with a capistrano problem. I have been using Capistrano to deploy a rails 3.2 app for a little while with no problems. Having upgraded the app to rails 4.2.5, however, I have ...
    Colin LawColin Law
    Nov 19, 2015 at 3:31 pm
    Nov 19, 2015 at 4:24 pm
  • Hello. I installed ruby 2.2.0 from source code on Ubuntu server 15.04 in "/home/padmahas/ruby/". It created 4 directories "bin", "include", "lib" and "share". But when I give the command "ruby ...
    Padmahas BnPadmahas Bn
    Nov 14, 2015 at 4:51 am
    Nov 14, 2015 at 4:31 pm
  • I was wondering if there should be a way to run the app even if some migrations are pending. Lets say I have created a migration...but at this time I am not sure if I want to run it as is ....am ...
    Amit MhatreAmit Mhatre
    Nov 12, 2015 at 6:57 am
    Nov 12, 2015 at 8:31 am
  • Hi! For a faster initial render of my pages, I have added a script relocator initializer that scans the page and moves all script tags to the bottom of the body tag. Order is kept, and the script ...
    Uwe KuboschUwe Kubosch
    Nov 11, 2015 at 10:38 am
    Nov 11, 2015 at 12:55 pm
  • Hello, I am required to integrate a payment gateway into a learning management application built using ruby on rails.It should be able to accept money either through net banking or via credit/debit ...
    Mahesh MestaMahesh Mesta
    Nov 9, 2015 at 7:00 am
    Nov 9, 2015 at 2:43 pm
  • Hey all, I've been doing rails for a couple years now but this is my first time in the mailing list. My question is this: I've got a little objects housing some data, more or less like a struct with ...
    Josh MarchelloJosh Marchello
    Nov 6, 2015 at 7:03 am
    Nov 6, 2015 at 9:08 am
  • We have a 2.3.8 application that has hard coded passwords in the database.yml file. If we were to use erb to bring these in from a file outside where in the initialization steps do I load the file to ...
    Robert NicholsonRobert Nicholson
    Nov 2, 2015 at 12:31 am
    Nov 2, 2015 at 8:19 am
  • Hello, I've been trying to install and update different gems to work with Ruby on Rails, but keep getting the same error, apparently indicating I can't install or update any gem: I generally type in ...
    Alexis CrettonAlexis Cretton
    Nov 30, 2015 at 1:23 pm
    Nov 30, 2015 at 2:18 pm
  • I'm trying to follow this example in my controller: science = Category.create!(:name = 'Science') but most create actions look like @science=Category.new(science_params) do I need the object to be an ...
    Fugee ohuFugee ohu
    Nov 27, 2015 at 5:53 am
    Nov 27, 2015 at 8:41 am
  • I'm able to follow the docs and create categorie from the rails console but I'm having trouble working those instructions into my controller I know this is wrong I dunno if I can use category instead ...
    Fugee ohuFugee ohu
    Nov 27, 2015 at 1:57 am
    Nov 27, 2015 at 8:36 am
  • Hi, I need to access one variable in entire controller i.e it is accessible to all actions in controller. I had tried with session and class variable but for example def create document_id = ...
    Sai ChSai Ch
    Nov 26, 2015 at 9:51 pm
    Nov 26, 2015 at 10:14 pm
  • ActiveRecord::RecordNotFound in StoreController#catalog Couldn't find Category with 'id'= from my store_controller.rb : private # Use callbacks to share common setup or constraints between actions ...
    Fugee ohuFugee ohu
    Nov 25, 2015 at 9:03 pm
    Nov 25, 2015 at 9:16 pm
  • Hi All, I am generate base64 link with some params, that link send to user email, it's worked fine. When I need to verify user email, user must and should click on email from that link I have take ...
    Sai ChSai Ch
    Nov 25, 2015 at 12:36 pm
    Nov 25, 2015 at 1:14 pm
  • I want my view to print the category names but my browser's displaying an array first, then the category name Why is it displaying this array I am using acts_as_nested_set in my controller but I ...
    Fugee ohuFugee ohu
    Nov 25, 2015 at 1:07 am
    Nov 25, 2015 at 1:20 am
  • *Position Title: Ruby on Rails Tech Lead * *Duration: Long term contract/ Full time permanent * Location : *Portsmouth, NH* *Job Duties* *Relevant Experience (Yrs)* : 6 + years *Technical/Functional ...
    Vijay SinhaVijay Sinha
    Nov 20, 2015 at 4:58 pm
    Nov 24, 2015 at 9:13 pm
  • Hi, I am kinda new to ruby but i know how to do the basic stuff but this has me really stumped. I want to create a page were a user can create a shipment with a customizable supply chain. For ...
    Nov 24, 2015 at 7:09 am
    Nov 24, 2015 at 8:42 am
  • hi, is this the right thing todo?: class AuditorObserver < ActiveRecord::Observer observe :order, :feedback,:jobapplicant def after_create(record) if record.class.name=="Order" ............ end if ...
    Nov 19, 2015 at 2:06 pm
    Nov 20, 2015 at 9:01 am
  • Hello list! Auctionet is looking for an experienced developer who likes to build web-applications in ruby. For more information, go here ...
    Albert RamstedtAlbert Ramstedt
    Nov 18, 2015 at 1:16 pm
    Nov 19, 2015 at 8:45 am
  • Hi everyone ! I am a complete (complete) beginner in Ruby with no prior experience in programming at all. We need to do a certain project in for my transdisciplinary course at university, and it ...
    Hristina GvozdenovicHristina Gvozdenovic
    Nov 19, 2015 at 8:12 am
    Nov 19, 2015 at 8:26 am
  • Q/Wechat1534584698办理新西兰文凭新西兰高等学院文凭毕业证成绩单学历认证真实教育部认证雅思托福成绩单学生卡NewZealandTertiaryCollege 北美国际留学生归国服务中心 办理新西兰文凭Q/Wechat1534584698办理新西兰文凭文凭毕业证成绩单教育部真实可查学历认证,雅思托福成绩单。 北美国际留学归国服务中心:实体公司,注册经营,行业标杆,精益求精! ...
    Soullkiller2 Soullkiller2Soullkiller2 Soullkiller2
    Nov 18, 2015 at 12:42 am
    Nov 18, 2015 at 12:54 am
  • Q/Wechat1534584698办理新西兰文凭太平洋国际学院文凭毕业证成绩单学历认证真实教育部认证雅思托福成绩单学生卡 InternationalPacificcollege 北美国际留学生归国服务中心 办理新西兰文凭Q/Wechat1534584698办理新西兰文凭文凭毕业证成绩单教育部真实可查学历认证,雅思托福成绩单。 北美国际留学归国服务中心:实体公司,注册经营,行业标杆,精益求精! ...
    Soullkiller2 Soullkiller2Soullkiller2 Soullkiller2
    Nov 17, 2015 at 2:51 pm
    Nov 18, 2015 at 12:41 am
Group Navigation
period‹ prev | Nov 2015 | next ›
Group Overview
grouprubyonrails-talk @

89 users for November 2015

Tony Leal: 136 posts Colin Law: 70 posts Fugee ohu: 53 posts Frederick Cheung: 12 posts Deepak Sharma: 9 posts Advocatus Kakorozya: 7 posts Liz Huang: 6 posts Rahoul Baruah: 6 posts Tamara Temple: 6 posts Wbsurfver: 5 posts Emrah Yıldırım: 4 posts James Harold: 4 posts Lha: 4 posts Allen Maxwell: 3 posts Dave: 3 posts Gvim: 3 posts Ruud: 3 posts Scott: 3 posts Tom: 3 posts VIDYA SAGAR POGIRI: 3 posts
show more