Found the answer: provided there is an 'assets' subdirectory in the
'myapp/public' directory, it will work and it does work :)
Case closed :)
Happy new year :)
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send
Hi, all :)
Happy new year :)
I referred to http://edgeguides.rubyonrails.org/asset_pipeline.html
for rails 3.1.0,
1) it does say that assets related to the application (ie. need
preprocessing) can live in the myapp/app/assets directory
2) it does say that files which need no preprocessing can st
I looked at 'Upgrading from Old Versions of Rails' in
http://edgeguides.rubyonrails.org/asset_pipeline.html and that has now
fixed the problem whereby files in assets/ can now be accessed.
I followed the changes recommended and they worked.
Nevertheless, I could not see my custom javascript files
I created a new rails app in my /tmp directory.
I noticed that the Gemfile had something new relating to the asset
group.
The app I am working on was created with rails 3.0.x and hence, I made
a change to my Gemfile to use rails 3.1.0 and ran "bundle install" to
get rails 3.1.0 in.
-- This
I had also clicked on 'application.js' in the line, '' in the
html file.
It looks like the files in app/assets cannot be accessed.
Here's what the source looks like. Observe the message, 'No route
matches [GET] "/javascripts/application.js"<'
-- Extract of source starts
Hi, all,
Happy new year :)
Referring to http://guides.rubyonrails.org/asset_pipeline.html, it
seems that 'require_tree .' in myapp/app/assets/javascripts/
application.js will include all *.js files in the myapp/app/assets/
javascripts/.
I have a few other *.js files in this directory : parts.
1. The following javascript is being defined in myapp/public/
javascripts/application.js
jQuery(function($) {
// when the #search field changes
$("#category").change(function() {
// make a POST call and replace the content
$.post(<%= category_sub_categories_path %>, function(data) {
On Sat, Dec 31, 2011 at 2:18 PM, Ralph Shnelvar wrote:
> jw_player needs to have videos somewhere in public.
>
> Can a link to cloud storage be placed there? I am a complete noobie when it
> comes to cloud stuff and heroku.
This has nothing to do with Heroku specifically.
I've never used fw_p
I'm using simple-navigation but I want try other solutions, for
example with jquery.
What do you use for navigation menus with one or more levels?
--
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 rubyon
HAPPY NEW YEAR
from my I&iPhone
--
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@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@googlegro
Have time for a project?
from my I&iPhone
--
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@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...
Hassan,
Saturday, December 31, 2011, 11:27:29 AM, you wrote:
HS> On Sat, Dec 31, 2011 at 10:18 AM, Ralph Shnelvar wrote:
>> Question: Does that mean I can't add more gems to the gemfile when I do the
>> next upload?
HS> No, each deployment reads the Gemfile and loads what it needs.
>> If I
After doing the pristine rebuild, I still received one persistent
gemspec error from dm-serializer. The problem was that gems couldn't
find the gem if I tried to rebuild it.
So I did this and it fixed it the last remaining error:
sudo gem install dm-serializer
- Bash
--
Posted via http://www.
On Sat, Dec 31, 2011 at 10:18 AM, Ralph Shnelvar wrote:
> Question: Does that mean I can't add more gems to the gemfile when I do the
> next upload?
No, each deployment reads the Gemfile and loads what it needs.
> If I need to fix one .rb file (or whatever), do I have to upload the entire
>
Hassan,
>> Am I even able to do a bundle whatever on the server they provide?
HS> You don't need to; Heroku uses your Gemfile to make the required
HS> gems available to the app at deployment.
Dear God!
One sentence and "everything" snaps into focus.
Thank you!
Question: Does that mean I can
I've spent a lot of time trying to create a new model and, at the same
time, setting an attribute of the join model.
I have:
Company
has_many :managements
has_many :managers, :through => :managements
Manager
has_many :managements
has_many :companies, :through => :managements
Then I try to create
Friday, December 30, 2011, 7:09:08 PM, you wrote:
CW> On Fri, 2011-12-30 at 12:21 -0700, Ralph Shnelvar wrote:
>> I have a library conflict between jQuery.js & accordion.js
>>
>> The first line of accordion.js is
>>
>> $(document).ready(function() {
>>
>>
>> Firebug displays
>> $(document)
On 31/12/11 15:15, "Greg Akins" wrote:
> On Fri, Dec 30, 2011 at 9:06 PM, Jason wrote:
>> My recommendation is to use rails ready, I used it the other day when
>> setting up my MacBook and was really excited with the results.
>>
>> https://github.com/joshfng/railsready
>
> Does railsready use
On Sat, Dec 31, 2011 at 12:54 AM, K.M. wrote:
> hi guys,
> I am now rewriting an existing app (rails 2.3.8) with rails 3.1.x.
>
> As observe_field() is no longer the way to go with rails 3 when ajax
> is used, I am trying to rewrite a piece of functionality for when a
> select box (drop down) wi
On Sat, Dec 31, 2011 at 5:31 AM, Ralph Shnelvar wrote:
> I'm trying to deploy to Heroku and I am very unfamiliar with procedures for
> it.
Have you read their instructions? It's really pretty simple.
> Am I even able to do a bundle whatever on the server they provide?
You don't need to; Herok
On Fri, Dec 30, 2011 at 9:06 PM, Jason wrote:
> My recommendation is to use rails ready, I used it the other day when
> setting up my MacBook and was really excited with the results.
>
> https://github.com/joshfng/railsready
Does railsready use RVM? I've followed the RVM instructions on a
couple
Hmmm
Thx... I will take a look in this whenever. It's seems easy to use. :D
--
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@googlegroups.com.
To unsubscribe from this group, send email
Title: Re[2]: [Rails] bundle --deployment & --no-deployment
Saturday, December 31, 2011, 3:24:37 AM, you wrote:
I am so lost.
I'm trying to deploy to Heroku and I am very unfamiliar with procedures for it.
Am I even able to do a bundle whatever on the server they provide?
The machin
On Thu, Dec 29, 2011 at 8:24 AM, sethgitner wrote:
> I am having issues loading imagemagick and rmagick on webfaction.
>
> I have installed a rails app called balder that organizes images.
>
> my main problem is that i can't seem to upoload the image sthrough balder.
>
> balder uses imagemagick a
Hi all,
Wish all of you a Happy and Prosperous New year njoy the day and
keep njoying for ever...
Here is my Query regarding to my project which I find it difficult I
used Fb Graph API also please help me out for the following:
I am using rails and I need to fetch all user videos and user fr
+1 to "whenever" gem for the exact reasons benjamin points out.
Gautam Pai
On Sat, Dec 31, 2011 at 12:45 AM, Benjamin Iandavid Rodriguez <
ian@gmail.com> wrote:
> You also might want to have a look at the Whenever gem it provides neat
> syntax all done with ruby and integrates well with capi
The machine where you run bundle --deployment, is that a development
machine or a deployment machine?? because on http://gembundler.com/ it
states
Deploying Your Application
On production servers, you can enable deployment mode:
$ bundle install --deployment
Do *not* use this flag on developmen
This playing a video is a new one for me so i am learning it. if u don't
know how play a video it does not mean you don't know ROR . New things has
to learned only by researching and in that process only i posted it.
On Thu, Dec 29, 2011 at 1:46 PM, Ben Eggett wrote:
> Sorry to be harsh, but if
28 matches
Mail list logo