Joined August 2013
·

Sebastian Muszyński

Full stack developer
·
Słupsk, Poland
·
·

I haven't used angularjs-rails gem. However, you should create all your js-related files under app/assets/javascripts folder if it's a typical rails application.

Thank you @diegozoracky for your answer. I have just checked it and it works like a charm!

Posted to return from block over 1 year ago

I was looking for that, thanks!

Thanks for your comment! I use the technique you introduced and it usually works pretty good. However, once I noticed it didn't work in my modal box and the only solution was to use $event.preventDefault() function, but I will look at it once again.

Your link is broken because of ")" inside the url. You have to put "%28" instead of ")" in the url address. Fixed link: Install Sublime Text 3 (beta) on Linux Mint or Ubuntu

It doesn't differ, but personally I prefer to install each component individually.

What's important and worth knowing:

To uninstall your lamp-server you would probably enter something like this:

sudo apt-get remove lamp-server^

Unfortunately, the above command removes also openssh-server (you can’t login to your remote server via SSH without it).

To uninstall the most important packages of lamp-server you should enter this command:

sudo apt-get purge mysql-server apache2 php5

And if you want to completely uninstall your LAMP, try this:

sudo apt-get remove apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.0 mysql-common mysql-server mysql-server-5.0 php5-common php5-mysql

Read more: How to remove the LAMP stack

Posted to Rails: How to Override default_scope? over 1 year ago

Thanks for that!
Is it a bad practise? Well... I wouldn't say that. If someone is aware of its behaviour and feels comfortable with it, then why don't let him to use it?

Achievements
686 Karma
107,006 Total ProTip Views