similar to: Problem with videos on heroku

Displaying 20 results from an estimated 3000 matches similar to: "Problem with videos on heroku"

2010 Sep 19
4
Rails 2.3.8 - InvalidAuthenticityToken problem. URGENT!
I used to have Simple Captcha installed, but since I removed it I got all kinds of problems with login. Processing UsersController#login (for 188.177.122.179 at 2010-09-19 12:21:09) [POST] Parameters: {"commit"=>"OK", "authenticity_token"=>"/ Y0aZETCsMhyI3CkrZJK6O2NaLEoi+LRe8ZuDPWU9kc=",
2007 Aug 18
1
problem with file_column url generator
Hi, I have the following in a viewer Here, @lst = Homework.find(:all) is an array of homeworks. I checked this this is correct. Based on the error below, somehow, the url_for_file_colum does not like to act on the model element. I checked the source code to url_for_file_column, and the problem is with instance_variable_get(). I have no idea wat is going on! Any help is appreciated. Gordon.
2006 Jan 14
2
file_column, ActionMailer, and tests
Hi, Say I have a model Event that has a file_column called ''pdf''. I want to send out emails that contain the URL for the pdf file that''s associated with the Event. I also want to test the emails, so I''d need to be able to get at the URL for the pdf inside my unit tests. I don''t see how I can use url_for_file_column in this situation. Doing <%=
2009 Apr 12
0
Heroku Garden - reversing or changing a 'generate scaffold' command
In Heroku Garden, is there a way of reversing or changing a ''generate scaffold'' command? I often find I need to make changes to the scaffolded application but I do not know how to. ''script/destroy scaffold Modelname'' from the console doesn''t seem to work. For example, I generated a Product scaffold in Heroku Garden. When I try to destroy it using the
2011 Jun 02
10
Application Error!!!!!!!!!!!!!!!!!!!!!!!
Hi everybody, Please any one help me, Previous two day''s I am googling, Still not find solution. this really frustrating. I had deploy my app on heroku http://radiationn.heroku.com/. it is working fine on localhost but i got APPLICATION ERROR. IN log wht i find that in photo.rb model not able to find "has_attached_file", I am not able to shout out this proble. It working
2009 Dec 24
4
NoMethodError
Hi, In a few words, can someone explain to me the NoMethodError. Googling for answers will get you to something but a direct answer from experts will give you something. NoMethodError in Book#new Showing app/views/book/new.html.erb where line #4 raised: undefined method `title'' for #<Book id: nil, created_at: nil, updated_at: nil> Extracted source (around line #4): 1:
2010 Nov 29
4
Error heroku: App Crashed
Hi , i developed a small application(which contails only static pages) . I tried to host that on heroku .just when everything was finished when i opened my site i,e http://floating-moon-89.heroku.com/ i am getting an error as App Crashed..where did it gone wrong? pls help... -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2006 Jan 13
1
Accessing file_column_helper from withing controller
Hi All, i have i niggly little showstopper -> I need to access file_column_helper from within the controller, as I need to include an image in my "pdf-write" code... Any sane way to do this? "Require ''rails_file_column''" still gives me an error: "undefined method `url_for_file_column''..." (I am using *svn* version with Rails 1.0)
2005 Dec 17
1
file_column url_for_file_column from within controler
Hello, i hope somebody can help me: How can i get the path/url for a file stored with file_column within any contoller? Is it somehow possible to use the url_for_file_column method from the file_column_helper.rb ? Greetings and thanx for any advise, Marc -- Posted via http://www.ruby-forum.com/.
2006 Jan 05
3
file_column url_for_file returns nil
Hi Guys, I have been struggling with this one for a while... file_column 0.3.1 My file gets uploaded and thumbnailed correctly, however <%= url_for_file_column("item", "image") %> returns nil... I have tracked the problem to line 60 in file_column_helper.rb but I cant figure out why my model would return nil in this case... -- Posted via
2008 May 13
0
Problem geting web interface to work
Hi, i have installed CruiseControlRB 1.3.0. With no project added the web interface at localhost:3333 looks find. I have successfully added one of my projects (batch file which builds some c++ code) which is also building fine. But the web interface is no more working - i get the following message "Errno::EINVAL in Projects#index". I have attached a log (run with --trace) which
2007 May 30
2
ActionView::TemplateError
Hi, I have a strange problem that only occurs on the production server. I''ve been banging my head for hours trying to figure it out with no success. Below is a copy of the error from the production log. ActionView::TemplateError (Expected /www/rails_apps/scanlan/current/ public/../config/../app/models/image.rb to define Image) on line #6 of app/views/admin/design/_record.rhtml: 3:
2006 May 30
0
Problems when applying search to filter rows.
Hello, I am trying to create in the main Layout of the application fields of selection of fields of the model, and other to insert its value. Next I put a search button, with the idea to leak by the search in the view of the model where it executes this button. I have generated the views with ajaxscaffold. I do not know if what I try to do it does of this form or another one. My code is the
2006 Dec 08
2
UJS plugin incompatible with RSpec?
Hi all, Anyone using UJS with RSpec? I have the following view spec: ---- edit_spec.rb context "accounts/edit" do fixtures :users setup do assigns[:user] = users(:consumer) end specify "should display the user info to edit" do render ''/accounts/edit'' end end ---- end that causes this exception: ---- exception ActionView::TemplateError
2006 Jun 23
1
rubyful_soup works fine as an RB file but bugs in Rails
This is the code: 1 require ''rubyful_soup'' 2 require ''open-uri'' 3 4 url = "http://www.google.com/search?q=ruby" 5 open(url) { 6 |page| page_content = page.read() 7 soup = BeautifulSoup.new(page_content) 8 result = soup.find_all(''a'', :attrs => {''class'' => ''l''}) 9 result.each {
2010 Dec 05
0
Rails - Using Tempfile to write on Heroku?
Hello, I need to be able to write a temporary file for use during the request only. Locally I can use the following successfully: tempfile = File.open(a.original_filename,''w'') tempfile.write_nonblock(a.body) paperclip stuff........ tempfile.close That works great, but not on Heroku... How can I do the above with Heroku''s restrictions:
2007 Jan 11
6
nil object while the required parameter are in the request
I''m having an application as follows. I have all the parameters for as object appended in the url. And there is an action in the controller like this def newlet render :layout=> false @product = Product.new if request.get? @product.title= params[:title] @product.description = params[:description] @product.primary_link = params[:primary_link]
2007 Jun 17
1
actionmailer & picture
Hello I''m using action mailer to create an HMTL outbound email. This email renders a partial. In that partial, a call is made to a public location to get a picture for display in the email. When this email is generate, I get the following error (note: I''m sure it has something to do with not understanding the context of actionmailer and how it functions): NoMethodError in
2006 Feb 21
2
ActiveRecord before_ callbacks question
Hi! I need to set the primary key in a model and postgres table to something different than id. View Edit and such works in the scaffolded controller. However if I click in the controller below the list of data onto New then I get an error message like this: Showing app/views/admin/_form.rhtml where line #5 raised: undefined method `nr_before_type_cast'' for
2006 Jun 23
0
Date class giving errors
Any time I try to use any methods of the Date class, I get errors of ''invalid date''. For example, I have this happening: With the code Date.today, I get this error from Rails: - - - - - - - - - - ArgumentError in Student#show Showing app/views/student/show.rhtml where line #10 raised: invalid date Extracted source (around line #10): 7: <p> <%=