ruby
Ruby on rails 3: Matching an array to a database order
I have a page, that has some images on them, but it\'s not always that all the fields are populated. Since I am using an array 开发者_运维技巧to populate each field, it matters that they are in the ri[详细]
2023-04-13 01:54 分类:问答determine if file is complete
I am trying to write a video ruby transformer scrip开发者_开发百科t (using ffmpeg) that depends on mov files being ftped to a server.[详细]
2023-04-13 01:50 分类:问答When do before_filters in application_controller get called? Strange issue
I have developed a plugin. The plugin has a declaration that can be added to the application controller like so:[详细]
2023-04-13 01:43 分类:问答Cannot install JSON gem in rails using windows
I am doing a bundle install and all of the gems work fine except JSON when it get to the JSON gem I receive this error.[详细]
2023-04-13 01:38 分类:问答Formtastic make the correct fields on the fly?
I am using Formtastic and also using the accepts_nested_attributes_for ..here are models class Tournament < ActiveRecord::Base[详细]
2023-04-13 01:34 分类:问答How do you set a condition based on the month of the 'created_at' field
controller code that doesn\'t work: @mailings = Mailing.f开发者_如何学运维ind(:all, :conditions => [\"created_at.month = ?\", m])[详细]
2023-04-13 00:56 分类:问答How to create a Heroku rails dev environment in actual development mode?
I\'m attempting to mimic, as close as possible, the Heroku deployment environment but in actual development mode for a Rails app.In other words, I\'d like more verbose output from t开发者_开发百科he t[详细]
2023-04-13 00:56 分类:问答rails active record associations sql behavior
I have 2 models: # models/car.rb class Car < ActiveRecord::Base belongs_to :model end and # models/m开发者_Go百科anufacturer.rb[详细]
2023-04-13 00:45 分类:问答How to initialize at js new map in gmaps4rails 1.3.0
I am trying by this example: link initialize the seckond map by clicking ajax button but map is not initialized. I working on latest version gmaps4rails. My source:[详细]
2023-04-13 00:27 分类:问答Ruby on Rails: One-to-many relationships, but I only want to retrieve just students and 1 homework
I\'ve 2 objects, Student 开发者_StackOverflow社区and Homework. This is a one-to-many relationship where a student can have many Homeworks[详细]
2023-04-13 00:17 分类:问答