[Updated from time to time] Ruby on Rails Convenient methods

I want to know the aliased attribute.

pry(main)> Member.attribute_aliases
=> { "user_name"=>"UserName", "mail_address"=>"MailAddress",}

I want to search with grep from the method list obtained by the methods method.

pry(main)> Member.methods.grep /attribute_aliases/i
=> [:attribute_aliases, :attribute_aliases?, :attribute_aliases=]

Recommended Posts

[Updated from time to time] Ruby on Rails Convenient methods
[Ruby on Rails] From MySQL construction to database change
How to use Ruby on Rails
[Ruby on Rails] Convenient helper method
Memorandum Poem (updated from time to time)
Ruby on Rails --From environment construction to simple application development on WSL2
Deploy to Heroku [Ruby on Rails] Beginner
Preparing to introduce jQuery to Ruby on Rails
Summary of results of research on object orientation [Updated from time to time]
[Ruby on Rails] How to use redirect_to
[Ruby on Rails] Button to return to top
Change from SQLite3 to PostgreSQL in a new Ruby on Rails project
Deploy to Ruby on Rails Elastic beanstalk (EB deploy)
[Reverse lookup] Spring Security (updated from time to time)
SpringBoot useful site collection (updated from time to time)
[Updated from time to time] Links that are indebted
Touch all Spring "Guides" (updated from time to time)
Ruby on Rails Elementary
Ruby on Rails basics
From Java to Ruby !!
Ruby On Rails Association
Git commands that new engineers should look back on [updated from time to time]
Method summary to update multiple columns [Ruby on Rails]
Introduction to programming for college students (updated from time to time)
[Ruby on Rails] How to change the column name
[Ruby on Rails] Change URL id to column name
Deploy to Ruby on Rails Elastic beanstalk (Environment construction)
[Ruby On Rails] How to reset DB in Heroku
[Eclipse] Summary of environment settings * Updated from time to time
(Ruby on Rails6) Reflecting the posted content from the form
(Ruby on Rails6) How to create models and tables
Ruby on rails learning record -2020.10.03
Portfolio creation Ruby on Rails
Ruby on rails learning record -2020.10.04
[Ruby on Rails] Debug (binding.pry)
Ruby on rails learning record -2020.10.05
Ruby on rails learning record -2020.10.09
Ruby on rails learning record-2020.10.07 ②
Ruby on rails learning record-2020.10.07 ①
Cancel Ruby on Rails migration
Ruby on rails learning record -2020.10.06
Ruby on Rails validation summary
Ruby on Rails Basic Memorandum
Deploy to Ruby on Rails Elastic beanstalk (IAM permission change)
[Personal memo] Frequently used Java grammar updated from time to time
<Dot installation> Introduction to Ruby on Rails5 Source code comparison
[Ruby on Rails] Elimination of Fat Controller-First, logic to model-
[Ruby on Rails] Automatically enter the address from the zip code
Personally recommended Intellij IDEA initial settings (updated from time to time)
How to display a graph in Ruby on Rails (LazyHighChart)
[Ruby on Rails] Column restrictions when saving to DB (4 representatives)
Apply CSS to a specific View in Ruby on Rails
[Time killing site] Comedy Gasha production | Ruby on Rails + Mechanize (scraping)
[Ruby on Rails] Read try (: [],: key)
Ruby on Rails variable, constant summary
Installing Ruby + Rails on Ubuntu 18.04 (rbenv)
[Ruby on Rails] Introduced paging function
I want to add a browsing function with ruby on rails
Basic knowledge of Ruby on Rails
Progate Ruby on Rails5 Looking Back
How to deploy Bootstrap on Rails