» Home » rails » Page 2
How do I setup a rails project to use an edge source tree (not an installed gem) version of rails
Category : Programming Languages

I would like the rails 3.0 source tree in my project so I can use patches, etc. I don' want to freeze rails. I would like to be able to pull updates from the main repo too. How do I accomplish this?


In particular the getting started guide, has me confused with


As the root user:
# gem install bundler
# bundle install

If I install the bund


View Replies


Rails Gem or code to have your rails application respond to email and create a record in the database
Category : Databases

I am creating a ruby on rails application and I want my users to be able to email the application and have the application take in the email and create a issue record in the database. Is there a GEM or Code that can be used to have the rails application get the email and parse out the body and stick it into an issue table.


View Replies


Rails - hide file url from users (rails 3.1 + carrierwave + google storage for developers)
Category : Programming Languages

I've built an application, deployed on heroku, that uses carrierwave to keep all uploaded files and I've set google storage for developers for keeping those files there.


Until here everything is working fine, but I would like to keep files showing private, ie. user must be authorized to view.
In the development environment everything works very well.


In order to hi


View Replies


Issuing Ruby on Rails commands without the command line in Windows (Instant Rails)
Category : Programming Languages

I'm working on a public computer where access to the cmd is restricted, i.e., I cannot access it at all.


How do issue commands such as "rails", "rake", or even install gems among other options I'd normally use the command line for with the cmd?


View Replies


How do I figure out why errors are occurring when running unit tests on app that is being upgraded from Rails 2.3 to Rails 3.0?
Category : Programming Languages

I've been tasked with upgrading an app from Rails 2.3.5 to 3.0.19. This also involves upgrading Ruby from 1.8.6 to 1.8.7. After this upgrade is complete and stable, the plan is then to move to Ruby 1.9 and Rails 3.2.


Gems (output from bundle install), fyi:


Using rake (10.0.3)
Using abstract (1.0.0)
Using activesupport (3.0.19)
Using build

View Replies


Patterns to make JRuby On Rails applications suitable for both Rails and Java developers
Category : Java

My team consists of Rails and Java developers working together on the JRuby On Rails application. Rails people prefer to develop the front-end application using the pure Ruby interpreter. Java people deploy application to the Tomcat and integrates it with Spring and core Java back-end services.


We recognize which version of Ruby is executing the project to allow the Rails fellows to


View Replies


Rails 3.2 not using bundled gems, Capistrano needs sudo gem install and rbenv not finding rails
Category : Development Tools & Services

I have 2 Rails 3.2.11 apps running on an Ubuntu 12.04 server with Nginx, Unicorn and Postgresql. Deployment is by git and capistrano.


After I installed the second app I found that Capistrano would fail during cap deploy because it "could not find a gem source" and I needed to install each missing gem using sudo. After this, cap deploy worked fine and so did the apps. Running bundl


View Replies


Rails console won't load, “Could not find gem 'rails (= 3.0.0.beta3) ruby”
Category : Programming Languages

I typed in Rails console to begin working and received the error below:


MacBook-Pro:blog agreiner$ rails console
/Users/agreiner/.rvm/gems/ruby-1.9.3-p194/gems/bundler-1.1.3/lib/bundler/resolver.rb:287:in `resolve': Could not find gem 'rails (= 3.0.0.beta3) ruby' in the gems available on this machine. (Bundler::GemNotFound)
from /Users/agreiner/.rvm/gems/ruby-1.9.3-p194

View Replies


jquery datatable rails column sorting is not working properly with rails helpers
Category : Programming Languages

i am new to rails , i am using jquery database rails gem for sorting and searching my table data . its working fine but when i am using rails helper methods like number_wit_delimiter to display number separated by comma , i am not getting proper sorting results .. finally its not sorting my data . i dont know the reason why i am getting like this ..and without using rails helpers i am getting p


View Replies


Rails: Setting class and data-tag of an HTML attribute with a single rails method
Category : Web Design

I'm currently working on a tour interface that guides new users around my site. I have a Tour model that has many TourStops, each of which contains information about a section of the site.


Basically, I'd like to write a function for the Tour model that -- when passed the number of a TourStop -- generates the correct class and data attribute for the HTML element it's attatched to. Fo


View Replies


Prev          Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .