[Rails] Re: Line break retention in simple_format

2013-08-17 Thread Robert Walker
simpleton wrote in post #1118613: > There are quite a lot of line break issues with Rails on StackOverflow > and > the web in general. A lot of solutions are ugly and a lot modify > simple_format so I've created a patch that I'd like to hear thoughts on > before submitting a PR. There are a lot of

[Rails] Re: Rails not loading precompiled assets

2013-08-17 Thread Exel Dev
Am running Rails 4 with Ruby 2 on Nginx and Unicorn. Assets under /app/assets show in production, but for some reason the app is not showing the precompiled assets in the public folder. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To

[Rails] Rails not loading precompiled assets

2013-08-17 Thread Exel Dev
I've just launched my first app, its running on Nginx and Unicorn. For some reason although I precompiled the assets, they're not showing in the browser. Its showing all the css and js files instead of the precompiled versions. Would anyone have any idea what may be causing that. Could it be an

[Rails] Re: Track views in Rails app

2013-08-17 Thread Phil
On Saturday, August 17, 2013 2:04:51 PM UTC-7, Linus Pettersson wrote: > > Hi > > Often when I build sites I need some way to track visits to specific > pages. For instance I need to see what Artists are the most popular so I > can let my users sort based on popularity. > I have used the gem Imp

[Rails] Track views in Rails app

2013-08-17 Thread Linus Pettersson
Hi Often when I build sites I need some way to track visits to specific pages. For instance I need to see what Artists are the most popular so I can let my users sort based on popularity. I have used the gem Impressionist before but recently I ran into major performance issues (see https://git

Re: [Rails] Add Functional Test to test:functionals Task

2013-08-17 Thread Kyle Fazzari
Ah... it WAS a simple problem. I know I've seen this multiple times, but I never had to use this knowledge until now: the rake tasks don't recursively run *.rb files, they recursively run *_test.rb files. I just had to name my files better. My first question still stands, though. If I don't do

[Rails] Add Functional Test to test:functionals Task

2013-08-17 Thread Kyle Fazzari
I have what I think should be a simple problem, but I'm having issues finding a solution to it via Google. I'm writing functional tests for my AccountsController. I began by adding tests to the test/functionals/accounts_controller_test.rb file, which worked fine. However, my testing has become

Re: [Rails] Re: content_tag inside content_tag

2013-08-17 Thread rajesh kanna
hi I tried <%= content_tag(:h1,"Arrange".html_safe + content_tag(:span," Demo"))%> its coming fine. thanks for everyone . * Follow me on Twitter * *Follow me on LinkedIn * *Follow me on Facebook