srcnix.com
Ruby on Rails - srcnix's obsessions
http://www.srcnix.com/tips/ruby-on-rails
Not just another code junkie. Raquo; Ruby on Rails. Ruby on Rails Tips. Ruby (Rails) constant lookup precedence. Recently I’ve been running into an interesting problem (at least, to me). Within a web application I am working on I found what I thought was a sporadic error occurring, which resulted in the need to restart Apache in order to temporarily fix it. That was, until I made a change to the controller and thus the issue appeared again, until I restarted Apache. The error:. February 28, 2013. Paginat...
srcnix.com
Tips - srcnix's obsessions
http://www.srcnix.com/tips
Not just another code junkie. Alphanumeric list in Ruby. Creating a list of A-Z and 0-9 is very simple in Ruby. You may need to do this for numerous reasons but the writing of this tip came about when needing to create a memorable word interface, like that of banks. Continue reading →. This entry was posted in Ruby. March 4, 2013. Ruby (Rails) constant lookup precedence. Uninitialized constant Frontend: User: ForgottenPasswordController: User. User constant (model class) exists and works fine. If you nee...
anlek.com
RVM install ruby-1.8.7-p330 fails | Anlek Consulting
http://anlek.com/2011/01/rvm-install-1-8-7-p330-fails
RVM install ruby-1.8.7-p330 fails. Jan 3, 2011. Today I’m thinking of getting back into so good old work and I read there is a new patch to Ruby, version p330. So I figure that RVM. Ruby Version Manager) being so easy and quick to update, I’d do the good old “rvm get head, rvm reload, rvm update 1.8.7” and I’m off to the races. Well it wasn’t quite as simple. I ended up with an error:. Ruby-1.8.7-p330 - #fetching. Ruby-1.8.7-p330 - #extracted to /Users/andrew/.rvm/src/ruby-1.8.7-p330. Now I can’t u...
srcnix.com
Ruby (Rails) constant lookup precedence - srcnix's obsessions
http://www.srcnix.com/tips/ruby-on-rails/ruby-rails-constant-lookup-precedence
Not just another code junkie. Raquo; Ruby on Rails. Raquo; Ruby (Rails) constant lookup precedence. Ruby (Rails) constant lookup precedence. Uninitialized constant Frontend: User: ForgottenPasswordController: User. This puzzled me for quite a while, but I continued to develop while every now and again I would come up against this and look for answers. I found nothing, but knew the following:. User constant (model class) exists and works fine. This only happened in specific controllers. As you can see, as...
SOCIAL ENGAGEMENT