This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.new method for derived model? | |
2.link_to :controller=>"hotels", :action => "show", :id=>"hotel.id"---didn't work but without mentioning controller it worked. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
delete is not working for food items | |
routing errors | |
diff b/w collec and member | |
some issues wid forgot password |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
how the total rendering of the web pages work in rails. | |
wen d layout is rendered. | |
debug methods. at server and in the view | |
try different way to do the same. | |
try doing same if it doesn't work in views in server. | |
how u debug is important. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modifies the called object it self | |
source:http://rubylearning.com/satishtalim/writing_own_ruby_methods.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
there is no helper method for foreign key in rails. because some databases doesn't support foreign keys like sqlite. | |
if u want to implement one u can define a helper method to the library |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
to use google calender api call the below link with parameters | |
http://www.google.com/calendar/event?action=TEMPLATE&text=IPSAS Foundation - Geneva&dates=20120227T090000/20120228T170000&location=TBD, Geneva, Switzerland&details=For details visit.. http://IPSASFOUNDATIONGENEVA.doattend.com&trp=true&sprop= website:www.doattend.com&sprop=name:doattend |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
when ever there is a . in the name of the css file we need to add .css in the include_style sheet helper |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/apache2/sites-enabled/000-default | |
PassengerMaxPoolSize 15 | |
PassengerPoolIdleTime 0 | |
PassengerStatThrottleRate 3600 | |
PassengerMaxRequests 100 | |
<VirtualHost *:80> | |
ServerName localhost | |
ServerAlias project |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ps aux|grep | |
searchd/usr/local/bin/searchd --stop untill all process gets killed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while adding associations(one-many) using scaffold post:references use post_id as the form field. | |
http://stackoverflow.com/questions/6583444/why-am-i-getting-an-association-type-mismatch?answertab=active#tab-top |
OlderNewer