submit your site to google crawlers, other directories and follow SEO rules.
On Sat, Nov 17, 2012 at 12:16 PM, Fahim Patel pafa...@gmail.com wrote:
Follow SEO (Search Engine Optimization) fundamental rules.
It will help you.
Thanks
Best Regards
Fahim Babar Patel
On Tuesday, November 13,
On Nov 17, 5:29 am, Jason Waldrip ja...@waldrip.net wrote:
I have been working on implementing my own ORM. And I was wondering how the
rails path helper extracts the ID from the object. For example how would I
make this work for my ORM?
@contact = Contact.first
I tried to implement a simple model_logger table that is polymorphic
as logable. Wanted nothing more than a text field (log) that text is
appended to.
The ModelLog model just has a simple set_log method
def set_log(entry)
self.log \r\n#{Time.now.to_s} - #{entry}
self.save
#puts
Good Morning,
I'm an student of Computer Engineering from Simón Bolívar University, in
Caracas Venezuela. I'm working in my thesis about ORM and their
respectfulness on databases. In order to have a better understanding of
the Ruby on Rails ORM, I'm wondering where do I can read about the
i am using rails 3.2.1 and gems authlogic and declarative_authorization
.but i have error uninitialized application controller authentication
error.just i tried some solutions like add config.autoload_paths
#{Rails.root}/lib in application.rb but it is not be working.what can i
do
--
On Nov 16, 12:46 pm, AppleII717 sa...@mac.com wrote:
I tried to implement a simple model_logger table that is polymorphic
as logable. Wanted nothing more than a text field (log) that text is
appended to.
The ModelLog model just has a simple set_log method
def set_log(entry)
self.log
On Nov 16, 2:05 pm, Alexandra E Paredes T 05-38...@usb.ve wrote:
Good Morning,
I'm an student of Computer Engineering from Simón Bolívar University, in
Caracas Venezuela. I'm working in my thesis about ORM and their
respectfulness on databases. In order to have a better understanding of
On 17 November 2012 04:06, ravi kumar ravi11dec1...@gmail.com wrote:
i am using rails 3.2.1 and gems authlogic and declarative_authorization .but
i have error uninitialized application controller authentication error.just
i tried some solutions like add config.autoload_paths
#{Rails.root}/lib
I have two models bank and country. User should only associate a Bank with
a country id present in the country table and I put validates presence of
country to enforce it but i get error mysql2::Error: Unknown column
'countries.bank_id' in 'where clause': SELECT `countries`.* FROM
On Nov 17, 10:19 am, rubyrookie asajn...@gmail.com wrote:
Can you tell me how to fix the issue? If I remove the
validates_presence_of :country I get a database error as expected when i
update bank table with a country id not in country table.
class Bank ActiveRecord::Base
Im one of my unit tests, I got an error I cannot even start looking for the
issue as few information are logged ...
Using the test console , there is no error at all :
rails console test
Loading test environment (Rails 3.2.9.rc3)
site1 = FactoryGirl.create(:cms_site, label: booboo)
BEGIN
..
Hi Colin,
Thanks for your reply.
Actually I don't want each user to have multiple types. Only 1 type per
user is ok for me.
I can satisfy that by using polymorphic relations. I have 1 db table for
common user attributes(email,name,password) and 2 more tables for the 2
user types(admin,manager)
Hi,
I am doing an jquery ajax call in my rails application and in the
controller I am rendering it to a view page(where javascripts codes are
written). Then I need to insert the response returned from the server to
a DOM element. When I try to alert the server response (alert (data))I
am getting
Thank you !
I also found this which seems to work well...
routes.rb:
authenticated :user do
root :to = 'users#show'
end
root :to = home#index
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
Thanks worked.
On Saturday, November 17, 2012 3:11:33 AM UTC-8, Frederick Cheung wrote:
On Nov 17, 10:19 am, rubyrookie asajn...@gmail.com wrote:
Can you tell me how to fix the issue? If I remove the
validates_presence_of :country I get a database error as expected when
i
On Sat, Nov 17, 2012 at 11:47 AM, Dave Castellano li...@ruby-forum.comwrote:
Thank you !
I also found this which seems to work well...
routes.rb:
authenticated :user do
root :to = 'users#show'
end
root :to = home#index
Nice! That I did not know about.
Casey
--
Posted
I don't know my english but my javascript is very newbie, too much
newbie
¿ Is not this, the same or similar, that disable the sumbmit button at
the begining of onchange event and activate it at the end?...something
like:
%= f.text_field :amount, onchange=disable_submit(); +
test
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@googlegroups.com.
To view this
I am trying to use jqx ui that is based on jquqery I have following
questions
1. How do I generate the right id and name for the element without setting
the element name and id in the format model name [attribute] ? Example
%= f.text_field :country_id % generates
sets the element id and
19 matches
Mail list logo