[Rails] Re: changing application.css to .scss prevents model.css.scss from being included...

2012-07-16 Thread Rocky
Have you tried naming the file application.css.scss? You can include specific style sheets by deleting the 'require tree' comment from the application stylesheet and then using @import "example.css.scss"; for every stylesheet that you have. Doing this means you can specify the order in which th

[Rails] Re: How to become effective and professional in Rails?

2012-07-04 Thread Rocky
http://astonj.com/tech/best-way-to-learn-ruby-rails/ Have fun! :) On Sunday, 1 July 2012 15:58:15 UTC+1, @masihjesus wrote: > > Dear Group, > > I know that this kind of question may sound not very good to you. But I > just wanted to > ask you that what is the best way to become perfectly effect

[Rails] Re: How to completely reinstall my rails environment on Mac Lion?

2012-07-04 Thread Rocky
$gem uninstall rails -a ... will un-install all versions of rails. $gem install rails ... puts it back again. You can check your rails version before and after by doing: $rails -v On Wednesday, 4 July 2012 01:02:30 UTC+1, Runy Calmera wrote: > > Hi, > I was learning rails and have completed

[Rails] error in runtime controller#view

2012-07-03 Thread rocky
m getting an error "Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id" when i'm creating new record,like a topic has many discussions,when i'm creating a new discussions m getting that error..i already assign the topic id as foreign key in dis

Re: [Rails] problems with changing contents of a page

2012-06-02 Thread rocky
simply i want to use jquery in my rails apps so that the whole page will not refresh only the content part inside my page get changes...what is the solution for this and where i will have to use this...and any sample code for this??? -- You received this message because you are subscribed to t

[Rails] problems with changing contents of a page

2012-06-01 Thread rocky
i have created a web page localhost:3000/subjects in rails and a button is there.if i click the button then only the content inside the html changesthe whole page will not refresh...like if sample button is there in the same page and when i clicked it it list of the subjects but i am in sam

[Rails] Re: Error installing therubyracer

2012-05-21 Thread Rocky
Rails hosts, for instance Heroku, are strongly advising against therubyracer because of memory usage. I removed therubyracer from my gems and just did $sudo apt-get install nodejs. Not sure if that is the preferred method, but it works for me. On Saturday, May 19, 2012 4:36:22 PM UTC+1, tfp44 w

[Rails] Would Ruby on Rails consider including the followign Ruby project: Debugger for Ruby 1.9?

2009-03-19 Thread rocky
Hi - I notice in the list of mentoring organizations for Google Summer of Code 2009 there is no organization representing Ruby. Last year, I had a student who was interested in debugging support in Ruby 1.9 but due to a snafu on the part of the Ruby Central administrator, Ruby lost the student a