Displaying 20 results from an estimated 60000 matches similar to: "Match path without controller."
2014 May 31
0
Help me understanding assets path
I've put my favicon into app/assets/images and include in my header
<%= favicon_link_tag 'my_favicon.jpg' %>
The favicon is correctly recognized by the browser, so it works
perfectly. When viewing the source code, I see to my surprise that the
following HTML code is generated:
<link href="/assets/my_favicon.jpg" rel="shortcut icon"
2010 Feb 24
0
Attachment fu file path
Hi I am using attachment fu plugin for uploading data.
say : User has_many :photos
I wanted to save the uploaded photo in the path as follows.
/files/<user_id>/photos/1.jpg - while uploading first photo
/files/<user_id>/photos/2.jpg - while uploading second photo
1) Is there any way to make a folder name with user id ?
2) Is there any way to rename the file in sequential order ?
2011 Apr 13
8
Set password on file.
User must have opportunity to set password on their files.
So what would be the best way to implement it?
Is there any gems?
Regards,
Ivan.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send
2011 Sep 27
1
Rails 3.1 assets path for video player Flash script 'player.swf'
I was using a Flash video player within a previous Rails version app
Moving to Rails 3.1.0 , I dob''t know where I should put the script ...
I tried to move it into an app asset sub-directory
assets
- jwplayer
- - player.swf
but this raises an error
"NetworkError: 406 Not Acceptable - http://localhost:3000/assets/jwplayer/player.swf"
player.swf
the flash script is given as a
2011 Nov 22
0
Geek To Live: Build Your PC “On a Stick” With Prayaya V3
You're headed to your buddy's house and you want to play some World of Warcraft or watch a downloaded movie while you're there. You don't have to drag along your entire laptop to do so. Set up your "PC on a stick" with portable software Prayaya V3, a standalone Windows installation that runs directly from a flash drive or iPod.
Plug in your V3-enabled portable drive into
2011 Nov 26
1
ActionController::RoutingError (No route matches [GET] "/image.jpg"):
I am using rails 3.1.3.
Inside config/ application -> config.assets.enabled = true
Inside development.rb -> config.assets.compress = false
Inside production.rb -> config.serve_static_assets = false;
config.assets.compile = false
I have images placed in assets/images. If i do localhost:3000/assets/
image I get the image in the browser, but
unfortunately, on the browser i am
2011 Nov 16
0
Meta property for videos uploaded from rails application
Hi all,
Iam having an issue with uploading videos to facebook from my rails
application. One of my team member said that we should send meta
properties of the video to post on facebook. Iam new to ROR and i dont
know how to get the meta properties. Please can anyone help me in this
with an example?
The code that he gave me was this:
I want to do it in rails
<meta
2011 Sep 23
1
Rails 3.1.0 how to pass the full url of an image asset ?
I need to reference the full url of an image stored in the assets,
this url is passed to fancy box to open it
I build the image path in helper and it get the path
"ceramics/big/c0d0.jpg" "ceramics/big/c0d2.jpg", ...
but I need to get the full url to these image
asset_path("ceramiques/big/c0d0.jpg") => "/assets/ceramiques/big/
c0d0.jpg"
but there
2012 Jun 08
1
[Rails 3.2.5] Rails: unit test fixture_path : fixture_file_upload cannot find the file ...
I am trying to perform a test unit, using FactoryGirl
include ActionDispatch::TestProcess
FactoryGirl.define do
factory :article do
.......
photo { fixture_file_upload ''/files/test.jpg'', ''image/jpg'' }
end
end
IN mt test_helper.rb I defined the fixture_path
def fixture_path
File.dirname(__FILE__) + "/fixtures/" #
2012 Jul 17
0
Email Exception
Dear All,
I would like to know How to Mailer Exception Handling.
In My Project, I send email to all contact and view messages.
Whatever emails is wrong, not send email, I wanna keep on
process.
UserMailer.message_email(@to_user,subject,message).deliver
player = Player.new()
player.user_id = current_user.id
player.game_id = @game.id
player.ishost = true
I wanna do
2012 Apr 09
0
How I update Multi Tables In A Form
Hello Friend!.....
I wanna update tables in a forms.
I have two table
1. user table
( usertable has id , name, email, address)
2. game table
(gametable has id, description, game_date, gametiming , user_id)
for edit .. I can display all two table data...
Wanna update data params by userID.
I do update two table data in a form.
How I do it ? Give Me A Hand!
phoesan
--
Posted via
2011 Aug 19
1
How to post a file via HTTP as multipart/form-data to Facebook?
I would like to post a new photo to a user using `Net::HTTP::multipart`
from a Heroku application to Facebook.
I have the following JSON object:
{"message"=>"My message",
"image"=>#<ActionDispatch::Http::UploadedFile:0x00000004242490
@original_filename="neEZYMAnBI.jpg",
@content_type="application/octet-stream",
2009 Mar 21
4
How to convert Mod/Tod to any video formats
Question:
1: What is .Mod and .Tod video?
2: How to convert .Mod and .Tod video to AVI, MPG, WMV, MPEG?
Answer:
1: .Mod and .Tod videos are mainly produced by digital harddisk camcorder such as JVC camcorder and so on. It is not common video formats and can only be played on some special players.
2:Tipard Mod Converter (http://www.tipard.com/mod-converter.html)Windows and Tipard Mod Converter for
2009 May 12
0
Share an easiest way to enjoy all music/video on iPod/iPhone
As an iPod fans, I had been always troubled in putting the music/video on my iPod until I have used a best iPod video converter (http://www.4easysoft.com/ipod-video-converter.html). This is what I?d like to share with all the ipod users.
Firstly, we should know what format that ipod can support:
Video:MP4;H.264; MPEG-4
Audio: AAC;MP3;M4V;WAV; AIFF
Picture: JPEG;BMP;GIF;TIFF;PSD
Text: txt
2006 Jun 08
0
Is possible to mantain a co0l blog without broke XHTML?
I started to write content in textarea in HTML then I migrated to
BBCode, then I came back HTML thanks to TinyMCE, now I see with interest
textile and markaby, but will they be "THE solution"?
As "internal" language anybody is free to use the language he/she
prefers but about the future? Probably you won''t be able to reuse it in
another platform/cms
Anybody wants
2010 Apr 01
2
paper clip plugin error
coming this error in my paper clilp plugin m getting this error
* Photo C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/
hrithik_roshan1,3756,1.jpg is not recognized by the ''identify''
command.
* Photo C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/
hrithik_roshan1,3756,1.jpg is not recognized by the ''identify''
command.
* Photo C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/
2010 Mar 26
6
Rake argument error
Hi,
I''m having a problem loading a sample data with simple rake command.
rake db:fixtures:load
When I run the above command,I get the following error
$rake db:fixtures:load
(in /home/raghu/www/photos)
rake aborted!
a YAML error occurred parsing
/home/raghu/www/photos/test/fixtures/photos.yml. Please note that YAML
must be consistently indented using spaces. Tabs are not allowed. Please
2012 May 03
2
Can't push to Heroku
I wanna push my application straight from Github to Heroku. Everything
goes through until it hits the installation of the gems. It can''t
install the SQLite3 (local DB).
I know Heroku doesn''t use SQLite but I didn''t expect this problem.
The error messages recommended installing a version of SQLite3
(v1.3.6) which I did
but it keeps on complaining :(. Any workaround?
2010 Feb 25
10
ajax.updater problem
Hi everyone
I´know that it is not a ajax forum, but Im using ajax ina program
created with rails code and I think that I´m not the unique person who
use the Ajax. UpdaterPeriodically.
My problem is that my program doesn´t refresh the div tag, following
it´s my source code. Anyone can say me why it doesn´t work?
<head>
<%= javascript_include_tag ''prototype'' %>
2013 Feb 25
3
How to use same css in pdf for wkhtmltopdf
hi I am not getting the css in my pdf i wanna use same css for my pdf also
rather going for new css for pdf. how can I use same css which I use in my
views. I am using wkhtmltopdf for pdf generation and one more thing is how
get page page brake using wkhtmltopdf.
Cheers,
Kp
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.