[Rails] Re: Automated Form Filling [Off Topic(ish)]

2014-02-06 Thread paul h
On Wednesday, February 5, 2014 4:46:54 PM UTC, Frederick Cheung wrote: On Wednesday, February 5, 2014 2:26:45 PM UTC, paul h wrote: Hi All, I need to post data from my rails app to an external web form I do not have any control over. There is no public API, so I was wondering if anyone

[Rails] Re: Using scaffolding

2014-02-06 Thread Kishore Seemala
Maybe the routes.rb has not been updated with the new resource users. Once check the routes.rb under config folder in your application and place resources :users, if it is missing Or you can also check the url http://localhost:3000/users/index, sometimes its problem with scaffolding -- Posted

[Rails] Re: Rails shared helpers within views conflict

2014-02-06 Thread Frederick Cheung
On Thursday, February 6, 2014 12:58:35 AM UTC, Ruby-Forum.com User wrote: Frederick Could you please elaborate helper :currency? Can you give an example? class FooController ApplicationController helper :currency # - CurrencyHelper module is included in views rendered by this

[Rails] Heroku, Ruby on Rails, GitHub

2014-02-06 Thread Michel Frechette
1. I get the following message after I have run '$git push heroku master' at the command line: This is the message: An error occurred while installing sqlite3 (1.3.8), and Bundler cannot continue. Make sure that `gem install sqlite3 -v '1.3.8'` succeeds before bundling. ! ! Failed

Re: [Rails] Heroku, Ruby on Rails, GitHub

2014-02-06 Thread Dave Aronson
On Thu, Feb 6, 2014 at 10:48 AM, Michel Frechette li...@ruby-forum.com wrote: 1. I get the following message after I have run '$git push heroku master' at the command line: This is the message: An error occurred while installing sqlite3 (1.3.8), and Bundler cannot continue. Make

[Rails] Re: Web App looking for a new business model

2014-02-06 Thread Kosmas
On Thursday, 6 February 2014 04:32:12 UTC+1, Ruby-Forum.com User wrote: Hi RoR developers I am interested in hearing your thoughts on this. I will very shortly develop a web application for the eLearning industry in a SaaS model. I have a good idea and some very good contacts in the

Re: [Rails] Heroku, Ruby on Rails, GitHub

2014-02-06 Thread Scott Eisenberg
I thought that heroku made the substitution automatically for you. Dim memory. Do they try anything like that? On Feb 6, 2014, at 11:18 AM, Dave Aronson googlegroups2d...@davearonson.com wrote: On Thu, Feb 6, 2014 at 10:48 AM, Michel Frechette li...@ruby-forum.com wrote: 1. I get the

[Rails] Re: Web App looking for a new business model

2014-02-06 Thread Yves Riel
Hi Kosmas, Thanks a lot! I wasn't aware of that book and will read it for sure. At the end of the day, I want everyone who deserves it to have its piece of the pie but I have met many business owners who have started with partners having a large equity and eventually regretted it. Many mentioned

Re: [Rails] Heroku, Ruby on Rails, GitHub

2014-02-06 Thread Hassan Schroeder
On Thu, Feb 6, 2014 at 9:07 AM, Scott Eisenberg sco...@btrtrucks.com wrote: I thought that heroku made the substitution automatically for you. Dim memory. I also recall that from a very long time ago, but AFAIK it hasn't been the case for quite a while. What heroku *does* do is provide pretty

[Rails] Help ! asap ...

2014-02-06 Thread Orlando Hernandez
*IS THAT THIS IS A MAILING LIST TO GIVE SUPPORT BUT HERE ARE EXPERIENCED PROGRAMMERS AND THESE WILL HELP ME * IF BELIEVED IS SPAM OR THEME IS NOT APPROPRIATE FOR CLOSED SORRY DEN THEME . ** I am a 17 year old I am dedicated to programming about 2 years I learned to do so empirically , never

[Rails] Re: Rails shared helpers within views conflict

2014-02-06 Thread Rodrigo Lueneberg
I got it. There is also another way, which is to define the helper method as an instance of the helper class using self. This way: def self.format_currency(price) ... end Then in the view this this %= Admin::currencyHelper.format_currency(price)% But the drawback is that you have to manually

[Rails] Re: Rails shared helpers within views conflict

2014-02-06 Thread Matt Jones
On Wednesday, 5 February 2014 11:46:12 UTC-5, Ruby-Forum.com User wrote: According to this article Rails helpers from all controllers are available to all views. But to me this looks kind of a dangerous approach because I might at some point use helper methods with the same name but with

Re: [Rails] Web App looking for a new business model

2014-02-06 Thread Hassan Schroeder
On Wed, Feb 5, 2014 at 7:32 PM, Yves Riel li...@ruby-forum.com wrote: I have a good idea and some very good contacts in the industry. The issue I am facing right now is that at this point, I don't want to give away any equity in the project and I am not a startup with a cashflow where I can

[Rails] switching response formats

2014-02-06 Thread bertly_the_coder
Hi guys, Is this possible? I have an action triggered off as JS, which i respond to appropriately, but sometimes, the request fails at which point I'd like to change to respond_to format to html so that I can redirect to a thank you page. So far I've tried: redirect_to(thank_you_path,

[Rails] Lightweight versioning of a model

2014-02-06 Thread Yi Lin
Hi All, I'm looking for the best way to add some lightweight versioning to my ActiveRecord model. Long story short, I work on an image hosting site, where each ActiveRecord of a resource contains some description fields and links to attachments. Users submit resources, and they are reviewed

Re: [Rails] Best practice to use AngularJS with Rails 4

2014-02-06 Thread tamouse pontiki
On Tue, Feb 4, 2014 at 10:50 PM, Paul p...@nines.org wrote: Don't know about best practice, but what I did was create a single page app, with an appcache manifest. Since the browser URL changes, you still have to create a bunch of entries in your routes file, but they all point to the same