/    Sign up×
Community /Pin to ProfileBookmark

Any way to know which libraries are "working"?

Hi,

I’m building web apps using Ruby and Rails.
I’ve been having a difficult problem installing and integrating CSS and JavaScript into my rails applications..

I’ve tried to use Bower, but whenever I try to install a library, it puts the files under “bower_components”.
But when tried to be used, it doesn’t work.. Do I have to do something else for bower to work with my rails app?

Also, i’ve downloaded the actual .js file I want to install and copy/paste the .js files to my app/assets/javascripts/what_i_want.js

I’ve also added:
<!– PARALLAX –>
<script src=”/assets/javascripts/parallax.js”></script>

To my application.html.erb

Or I just use:
<link rel=”stylesheet” type=”text/css” href=”https://cdnjs.cloudflare.com/ajax/libs/jquery.sticky/1.0.3/jquery.sticky.min.js“>

[B][U]All said, i’m confused on how to really install a library (JavaScript) I want to use into my rails apps..
What way is the best? And is there a way I KNOW the library is installed and working ?[/U]
[/B]

Thanks for any help, this has been really bugging me lately with some libraries working, and some not..

to post a comment
JavaScript

7 Comments(s)

Copy linkTweet thisAlerts:
@rootMay 01.2016 — All frameworks are bad, that is my personal opinion, on several levels and because you are putting your trust in to some organisations coding ability and using a library that you may only be using a minute portion of but have to load up every time, taking time, space and processing to accommodate them when coding in native code allows your code to be tiny, you know what is in your code, you can easily edit it...

I have used several as an experiment, and truthfully, you can't beat going native.

If you must use a framework, at least ask in the right forum, this is JavaScript, JQuery and other frameworks can be found by following the link in my signature.
Copy linkTweet thisAlerts:
@essxivauthorMay 01.2016 — All frameworks are bad, that is my personal opinion, on several levels and because you are putting your trust in to some organisations coding ability and using a library that you may only be using a minute portion of but have to load up every time, taking time, space and processing to accommodate them when coding in native code allows your code to be tiny, you know what is in your code, you can easily edit it...

I have used several as an experiment, and truthfully, you can't beat going native.

If you must use a framework, at least ask in the right forum, this is JavaScript, JQuery and other frameworks can be found by following the link in my signature.[/QUOTE]


Thanks?

But this doesn't help answer my question.
Copy linkTweet thisAlerts:
@Newbie7May 02.2016 — My apologies for jumping in here, but I can't see how to post a new question to the forum. Could someone advise me? Thanks.
Copy linkTweet thisAlerts:
@rootMay 03.2016 — A big button that says "Post New Thread" right below the header...
Copy linkTweet thisAlerts:
@Newbie7May 04.2016 — A big button that says "Post New Thread" right below the header...[/QUOTE]

Don't see the big button. I've even searched on "New Thread". No hits. Weird. Browser is Chrome, if that matters.

Possibly I don't understand what you mean by "right below the header". Try another way to tell me where that button is? Such as, "top left corner of main page", etc.
Copy linkTweet thisAlerts:
@Newbie7May 04.2016 — Don't see the big button. I've even searched on "New Thread". No hits. Weird. Browser is Chrome, if that matters.

Possibly I don't understand what you mean by "right below the header". Try another way to tell me where that button is? Such as, "top left corner of main page", etc.[/QUOTE]


Oops. Just found the button. Not on the main page, but on the sub-topic pages.
Copy linkTweet thisAlerts:
@rootMay 07.2016 — Chrome can be a bit twitchy as I have noted over the years, when it fails, it fails epically and always a the worst moment. Take last night, I tried logging in to my online banking and it sent me to the wrong page, I ended up having to call my bank (luckily they are one of the few with 24/7 operators on duty) and they performed an account login reset so I could get in to my bank account.

Sometimes it pays to use *cough* dare I say it, MSIE (Now going to scrub my tongue with carbolic soap)

Glad you found it.
×

Success!

Help @essxiv spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...